Fix CActor's *SplashInhabitant logic

This commit is contained in:
Phillip Stephens 2022-07-02 17:05:49 -07:00
parent ec9e0bfc0f
commit bb7d6d4855
1 changed files with 2 additions and 2 deletions

View File

@ -91,11 +91,11 @@ void CActor::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateMana
}
break;
}
case EScriptObjectMessage::UpdateSplashInhabitant: // 37
case EScriptObjectMessage::AddSplashInhabitant: // 37
SetInFluid(true, uid);
break;
case EScriptObjectMessage::RemoveSplashInhabitant: // 39
SetInFluid(false, kInvalidUniqueId);
SetInFluid(false, uid);
break;
case EScriptObjectMessage::InitializedInArea: // 35
{