diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2024-09-28 10:12:54 -0500 |
|---|---|---|
| committer | Garrett Cox <garrettjcox@gmail.com> | 2024-09-28 10:17:54 -0500 |
| commit | 0a7099972b4c52d44b49df674bbe9153949d169d (patch) | |
| tree | a030a9fc730c9cf3387de454971a41ba49ff7df2 /mm/2s2h/Rando/ActorBehavior/EnSi.cpp | |
| parent | 0c4c6f2bc8678a993ec494ad16737bba02f8a2ab (diff) | |
Move a bunch of things out of the main rando.cpp file
Diffstat (limited to 'mm/2s2h/Rando/ActorBehavior/EnSi.cpp')
| -rw-r--r-- | mm/2s2h/Rando/ActorBehavior/EnSi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/Rando/ActorBehavior/EnSi.cpp b/mm/2s2h/Rando/ActorBehavior/EnSi.cpp index a3a9ce084..03680fba1 100644 --- a/mm/2s2h/Rando/ActorBehavior/EnSi.cpp +++ b/mm/2s2h/Rando/ActorBehavior/EnSi.cpp @@ -22,7 +22,7 @@ void EnSi_DrawCustom(Actor* thisx, PlayState* play) { Rando::DrawItem(randoSaveCheck.randoItemId); } -void Rando::ActorBehavior::InitEnSiBehavior(bool isRando) { +void Rando::ActorBehavior::InitEnSiBehavior() { static uint32_t onActorInitHookId = 0; static uint32_t shouldHookId = 0; GameInteractor::Instance->UnregisterGameHookForID<GameInteractor::OnActorInit>(onActorInitHookId); @@ -31,7 +31,7 @@ void Rando::ActorBehavior::InitEnSiBehavior(bool isRando) { onActorInitHookId = 0; shouldHookId = 0; - if (!isRando) { + if (!IS_RANDO) { return; } |
