mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 07:26:10 +00:00
More CScriptSpecialFunction imps, fix intermittent crash in CAnimTreeTweenBase
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "CBurrower.hpp"
|
||||
#include "CStateManager.hpp"
|
||||
|
||||
namespace urde::MP1
|
||||
{
|
||||
@@ -11,4 +12,17 @@ CBurrower::CBurrower(TUniqueId uid, std::string_view name, const CEntityInfo& in
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CBurrower::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr)
|
||||
{
|
||||
CPatterned::AcceptScriptMsg(msg, uid, mgr);
|
||||
if (msg == EScriptObjectMessage::Registered)
|
||||
x450_bodyController->Activate(mgr);
|
||||
else if (msg == EScriptObjectMessage::InitializedInArea)
|
||||
{
|
||||
|
||||
}
|
||||
else if (msg == EScriptObjectMessage::InvulnDamage)
|
||||
x6a4_ = 1.f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user