mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 12:31:47 +00:00
The old dynos warp hook params worked fine
This commit is contained in:
parent
ee7d694940
commit
7568a8564f
1 changed files with 2 additions and 2 deletions
|
|
@ -263,7 +263,7 @@ static void *DynOS_Warp_UpdateWarp(void *aCmd, bool aIsLevelInitDone) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// lua hooks
|
// lua hooks
|
||||||
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sBackupWarpDest.type, sBackupWarpDest.levelNum, sBackupWarpDest.areaIdx, sBackupWarpDest.nodeId, sBackupWarpDest.arg);
|
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sBackupWarpDest.type, sDynosWarpLevelNum, sDynosWarpAreaNum, sDynosWarpNodeNum, sBackupWarpDest.arg);
|
||||||
|
|
||||||
// Reset values
|
// Reset values
|
||||||
sDynosWarpTargetArea = -1;
|
sDynosWarpTargetArea = -1;
|
||||||
|
|
@ -411,7 +411,7 @@ static void *DynOS_Warp_UpdateExit(void *aCmd, bool aIsLevelInitDone) {
|
||||||
sDynosExitTargetWarp = NULL;
|
sDynosExitTargetWarp = NULL;
|
||||||
|
|
||||||
// lua hooks
|
// lua hooks
|
||||||
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sBackupWarpDest.type, sBackupWarpDest.levelNum, sBackupWarpDest.areaIdx, sBackupWarpDest.nodeId, sBackupWarpDest.arg);
|
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sBackupWarpDest.type, sDynosWarpLevelNum, sDynosWarpAreaNum, sDynosWarpNodeNum, sBackupWarpDest.arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Phase 4 - Unlock Mario as soon as the second transition is ended
|
// Phase 4 - Unlock Mario as soon as the second transition is ended
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue