mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
Refactor actor states, define enum (#1220)
* Refactor actor states, define enum * Revert * Rename `UpdateState` to `Animate`
This commit is contained in:
committed by
GitHub
parent
ce3f71ea0f
commit
6da2faa48c
@@ -366,8 +366,8 @@ void LegoPathController::FUN_10046970()
|
||||
LegoPathActor* actor = *itpa;
|
||||
|
||||
if (m_actors.find(actor) != m_actors.end()) {
|
||||
if (!((MxU8) actor->GetActorFlags() & LegoPathActor::c_disable)) {
|
||||
actor->UpdateState(time);
|
||||
if (!((MxU8) actor->GetActorState() & LegoPathActor::c_disabled)) {
|
||||
actor->Animate(time);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user