summaryrefslogtreecommitdiff
path: root/src/code/code_800430A0.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-02-03 05:15:38 +1100
committerGitHub <noreply@github.com>2024-02-02 13:15:38 -0500
commitf23a05eecddccb8061d425c3ea21bbb575c22395 (patch)
tree39b547a3f20c57230c848f078d5ca05eec4c3bde /src/code/code_800430A0.c
parent387149fda0c4b2df817288c1c41b3a58d6b8dbc4 (diff)
Misc Small Retail Files Part 2 OK (#1696)
* z_draw.c OK * more files
Diffstat (limited to 'src/code/code_800430A0.c')
-rw-r--r--src/code/code_800430A0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/code/code_800430A0.c b/src/code/code_800430A0.c
index 4c6ae7af6..a13ecce7e 100644
--- a/src/code/code_800430A0.c
+++ b/src/code/code_800430A0.c
@@ -36,6 +36,7 @@ void DynaPolyActor_UpdateCarriedActorPos(CollisionContext* colCtx, s32 bgId, Act
SkinMatrix_Vec3fMtxFMultXYZ(&curTransform, &tempPos, &pos);
carriedActor->world.pos = pos;
+#if OOT_DEBUG
if (BGCHECK_XYZ_ABSMAX <= pos.x || pos.x <= -BGCHECK_XYZ_ABSMAX || BGCHECK_XYZ_ABSMAX <= pos.y ||
pos.y <= -BGCHECK_XYZ_ABSMAX || BGCHECK_XYZ_ABSMAX <= pos.z || pos.z <= -BGCHECK_XYZ_ABSMAX) {
@@ -47,6 +48,7 @@ void DynaPolyActor_UpdateCarriedActorPos(CollisionContext* colCtx, s32 bgId, Act
pos.x, pos.y, pos.z);
PRINTF(VT_RST);
}
+#endif
}
}
}