mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-12-09 17:42:55 +00:00
Fix HOOK_ON_WARP params
This commit is contained in:
parent
36d76d3cb8
commit
6527ee1b7a
2 changed files with 3 additions and 3 deletions
|
|
@ -260,7 +260,7 @@ static void *DynOS_Warp_UpdateWarp(void *aCmd, bool aIsLevelInitDone) {
|
|||
}
|
||||
|
||||
// lua hooks
|
||||
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sWarpDest.type, sWarpDest.levelNum, sWarpDest.areaIdx, sWarpDest.nodeId, sWarpDest.arg);
|
||||
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sWarpDest.type, sDynosWarpLevelNum, sDynosWarpAreaNum, sDynosWarpNodeNum, sWarpDest.arg);
|
||||
|
||||
// Reset values
|
||||
sDynosWarpTargetArea = -1;
|
||||
|
|
@ -405,7 +405,7 @@ static void *DynOS_Warp_UpdateExit(void *aCmd, bool aIsLevelInitDone) {
|
|||
sDynosExitTargetWarp = NULL;
|
||||
|
||||
// lua hooks
|
||||
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sWarpDest.type, sWarpDest.levelNum, sWarpDest.areaIdx, sWarpDest.nodeId, sWarpDest.arg);
|
||||
smlua_call_event_hooks_warp_params(HOOK_ON_WARP, sWarpDest.type, sDynosWarpLevelNum, sDynosWarpAreaNum, sDynosWarpNodeNum, sWarpDest.arg);
|
||||
}
|
||||
|
||||
// Phase 4 - Unlock Mario as soon as the second transition is ended
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@ static s32 obj_is_in_view(struct GraphNodeObject *node, Mat4 matrix) {
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static void geo_sanitize_object_gfx() {
|
||||
static void geo_sanitize_object_gfx(void) {
|
||||
geo_append_display_list(obj_sanitize_gfx, LAYER_OPAQUE);
|
||||
geo_append_display_list(obj_sanitize_gfx, LAYER_ALPHA);
|
||||
geo_append_display_list(obj_sanitize_gfx, LAYER_TRANSPARENT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue