2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Lots of CPlayer implementations

This commit is contained in:
Jack Andersen
2017-06-11 18:23:34 -10:00
parent 46c70ecf11
commit 4f33422423
50 changed files with 940 additions and 245 deletions

View File

@@ -29,12 +29,12 @@ CGameCamera::CGameCamera(TUniqueId uid, bool active, const std::string& name, co
void CGameCamera::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr)
{
if (msg == EScriptObjectMessage::InternalMessage15)
if (msg == EScriptObjectMessage::UpdateSplashInhabitant)
{
mgr.GetCameraManager()->SetInsideFluid(true, uid);
return;
}
else if (msg == EScriptObjectMessage::InternalMessage17)
else if (msg == EScriptObjectMessage::RemoveSplashInhabitant)
{
mgr.GetCameraManager()->SetInsideFluid(false, kInvalidUniqueId);
return;