mirror of https://github.com/AxioDL/metaforce.git
CScriptMazeNode: Minor fix from matching decomp
This commit is contained in:
parent
2e3495ec0b
commit
03a3fd8570
|
@ -107,7 +107,7 @@ void CScriptMazeNode::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, C
|
|||
std::any_of(x12c_puddleObjectIds.cbegin(), x12c_puddleObjectIds.cend(), [=](auto v) { return v == uid; })) {
|
||||
for (const auto& id : x12c_puddleObjectIds) {
|
||||
if (auto* ent = mgr.ObjectById(id)) {
|
||||
if (ent->GetActive()) {
|
||||
if (!ent->GetActive()) {
|
||||
mgr.SendScriptMsg(ent, GetUniqueId(), EScriptObjectMessage::Activate);
|
||||
} else {
|
||||
mgr.FreeScriptObject(ent->GetUniqueId());
|
||||
|
|
Loading…
Reference in New Issue