summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorShishu the Dragon <183069616+ShishuTheDragon@users.noreply.github.com>2026-06-10 13:41:38 +1200
committerGitHub <noreply@github.com>2026-06-10 01:41:38 +0000
commit1c58bcc3e9f65c5d924188e1eb647785dcd6a369 (patch)
tree3cb3e5bd0d2e2a619371092798fd11cb8e904756 /soh/src/code
parent44888584c4c9d6f18745ac54718d5c1f9c6e0306 (diff)
Ivan: Hookify and improve spawning (#6707)
Spawn/despawn Ivan immediately (not on next scene) Move Ivan’s boomerang code out of z_player.c
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_play.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/soh/src/code/z_play.c b/soh/src/code/z_play.c
index f73d076de..00d1066a2 100644
--- a/soh/src/code/z_play.c
+++ b/soh/src/code/z_play.c
@@ -683,12 +683,6 @@ void Play_Init(GameState* thisx) {
}
#endif
- if (CVarGetInteger(CVAR_ENHANCEMENT("IvanCoopModeEnabled"), 0)) {
- Actor_Spawn(&play->actorCtx, play, gEnPartnerId, GET_PLAYER(play)->actor.world.pos.x,
- GET_PLAYER(play)->actor.world.pos.y + Player_GetHeight(GET_PLAYER(play)) + 5.0f,
- GET_PLAYER(play)->actor.world.pos.z, 0, 0, 0, 1);
- }
-
// nextEntranceIndex was not initialized, so the previous value was carried over during soft resets.
gPlayState->nextEntranceIndex = gSaveContext.entranceIndex;
}