mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 13:07:42 +00:00
Fix CMemoryCardSys
This commit is contained in:
@@ -45,8 +45,10 @@ void CEntity::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateM
|
||||
}
|
||||
|
||||
void CEntity::SendScriptMsgs(EScriptObjectState state, CStateManager& stateMgr, EScriptObjectMessage skipMsg) {
|
||||
for (const SConnection& conn : x20_conns)
|
||||
if (conn.x0_state == state && conn.x4_msg != skipMsg)
|
||||
for (const SConnection& conn : x20_conns) {
|
||||
if (conn.x0_state == state && conn.x4_msg != skipMsg) {
|
||||
stateMgr.SendScriptMsg(x8_uid, conn.x8_objId, conn.x4_msg, state);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user