2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 06:27:43 +00:00

CIceSheegoth: Implement Think

This commit is contained in:
2020-04-20 15:35:56 -07:00
parent 3779b205b7
commit b1a897d246
10 changed files with 216 additions and 509 deletions

View File

@@ -77,7 +77,7 @@ void CStateMachineState::Update(CStateManager& mgr, CAi& ai, float delta) {
trig = trig->GetAnd();
}
}
if (andPassed && state) {
if (andPassed && state != nullptr) {
x4_state->CallFunc(mgr, ai, EStateMsg::Deactivate, 0.f);
x4_state = state;
Log.report(logvisor::Info, FMT_STRING("{} {} {} - {} {}"), ai.GetUniqueId(), ai.GetEditorId(), ai.GetName(),