mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Implement CWarWasp
This commit is contained in:
@@ -48,7 +48,7 @@ void CScriptCounter::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId,
|
||||
if (GetActive() && x38_current < x3c_max) {
|
||||
++x38_current;
|
||||
if (x38_current >= x3c_max) {
|
||||
SendScriptMsgs(EScriptObjectState::Zero, stateMgr, EScriptObjectMessage::None);
|
||||
SendScriptMsgs(EScriptObjectState::MaxReached, stateMgr, EScriptObjectMessage::None);
|
||||
if (x40_autoReset)
|
||||
x38_current = x34_initial;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user