mirror of https://github.com/AxioDL/metaforce.git
Fix CActor's *SplashInhabitant logic
This commit is contained in:
parent
ec9e0bfc0f
commit
bb7d6d4855
|
@ -91,11 +91,11 @@ void CActor::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateMana
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case EScriptObjectMessage::UpdateSplashInhabitant: // 37
|
case EScriptObjectMessage::AddSplashInhabitant: // 37
|
||||||
SetInFluid(true, uid);
|
SetInFluid(true, uid);
|
||||||
break;
|
break;
|
||||||
case EScriptObjectMessage::RemoveSplashInhabitant: // 39
|
case EScriptObjectMessage::RemoveSplashInhabitant: // 39
|
||||||
SetInFluid(false, kInvalidUniqueId);
|
SetInFluid(false, uid);
|
||||||
break;
|
break;
|
||||||
case EScriptObjectMessage::InitializedInArea: // 35
|
case EScriptObjectMessage::InitializedInArea: // 35
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue