mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-05 15:11:16 +00:00
Prevent 'exit course' from doing the wrong warp sometimes
This commit is contained in:
parent
35ac2165ad
commit
f0ad3dd7d0
1 changed files with 1 additions and 4 deletions
|
@ -827,10 +827,7 @@ s16 level_trigger_warp(struct MarioState *m, s32 warpOp) {
|
|||
break;
|
||||
|
||||
case WARP_OP_EXIT:
|
||||
sSourceWarpNodeId = WARP_NODE_WARP_FLOOR;
|
||||
if (area_get_warp_node(sSourceWarpNodeId) == NULL) {
|
||||
sSourceWarpNodeId = WARP_NODE_DEATH;
|
||||
}
|
||||
sSourceWarpNodeId = WARP_NODE_DEATH;
|
||||
sDelayedWarpTimer = 20;
|
||||
play_transition(WARP_TRANSITION_FADE_INTO_CIRCLE, 0x14, 0x00, 0x00, 0x00);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue