From 6a3e7e7a87255ae1bdaf8abe146996db7396334d Mon Sep 17 00:00:00 2001 From: Gregory Heskett Date: Mon, 1 Jul 2024 21:47:38 -0400 Subject: [PATCH] Bugfix: Missed purging of debug box flags that no longer exist in Puppycam (#804) --- src/game/puppycam2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/puppycam2.c b/src/game/puppycam2.c index 384d8af0..cc1b796c 100644 --- a/src/game/puppycam2.c +++ b/src/game/puppycam2.c @@ -1018,7 +1018,7 @@ static s32 puppycam_check_volume_bounds(struct sPuppyVolume *volume, s32 index) vec3f_set(debugPos[0], sPuppyVolumeStack[index]->pos[0], sPuppyVolumeStack[index]->pos[1], sPuppyVolumeStack[index]->pos[2]); vec3f_set(debugPos[1], sPuppyVolumeStack[index]->radius[0], sPuppyVolumeStack[index]->radius[1], sPuppyVolumeStack[index]->radius[2]); debug_box_color(0x00FF0000); - debug_box_rot(debugPos[0], debugPos[1], sPuppyVolumeStack[index]->rot, DEBUG_SHAPE_BOX | DEBUG_UCODE_DEFAULT); + debug_box_rot(debugPos[0], debugPos[1], sPuppyVolumeStack[index]->rot, DEBUG_SHAPE_BOX); #endif // Now compare values. if (-sPuppyVolumeStack[index]->radius[0] < pos[0] && pos[0] < sPuppyVolumeStack[index]->radius[0] && @@ -1036,7 +1036,7 @@ static s32 puppycam_check_volume_bounds(struct sPuppyVolume *volume, s32 index) vec3f_set(debugPos[0], sPuppyVolumeStack[index]->pos[0], sPuppyVolumeStack[index]->pos[1], sPuppyVolumeStack[index]->pos[2]); vec3f_set(debugPos[1], sPuppyVolumeStack[index]->radius[0], sPuppyVolumeStack[index]->radius[1], sPuppyVolumeStack[index]->radius[2]); debug_box_color(0x00FF0000); - debug_box_rot(debugPos[0], debugPos[1], sPuppyVolumeStack[index]->rot, DEBUG_SHAPE_CYLINDER | DEBUG_UCODE_DEFAULT); + debug_box_rot(debugPos[0], debugPos[1], sPuppyVolumeStack[index]->rot, DEBUG_SHAPE_CYLINDER); #endif f32 distCheck = (dist < sqr(sPuppyVolumeStack[index]->radius[0]));