mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-05 22:15:34 +00:00
CScriptCameraWaypoint: Fix Arrived
This commit is contained in:
parent
1571531cd7
commit
82aa99f858
@ -18,7 +18,7 @@ void CScriptCameraWaypoint::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
||||
|
||||
void CScriptCameraWaypoint::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) {
|
||||
CActor::AcceptScriptMsg(msg, uid, mgr);
|
||||
if (!GetActive() && msg == EScriptObjectMessage::Arrived)
|
||||
if (GetActive() && msg == EScriptObjectMessage::Arrived)
|
||||
SendScriptMsgs(EScriptObjectState::Arrived, mgr, EScriptObjectMessage::None);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user