summaryrefslogtreecommitdiff
path: root/src/d/d_camera.cpp
diff options
context:
space:
mode:
authorkipcode66 <kipcode66@gmail.com>2025-12-21 20:48:09 -0500
committerGitHub <noreply@github.com>2025-12-21 17:48:09 -0800
commit4045f16667fe6903243801e1155d086ae8df27b1 (patch)
treebaa2a62646926e1f2d4c994c95931bcc4d66e5f0 /src/d/d_camera.cpp
parentb4f931f75f5d87fc7844e00eab7d7b99eceb3622 (diff)
next round of standard compiler fixes (#2969)
* next round of standard compiler fixes * Fix weak function order issue * fix missmatch with ShieldD version
Diffstat (limited to 'src/d/d_camera.cpp')
-rw-r--r--src/d/d_camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_camera.cpp b/src/d/d_camera.cpp
index af1d6d38c1..0b4a9ba890 100644
--- a/src/d/d_camera.cpp
+++ b/src/d/d_camera.cpp
@@ -9037,7 +9037,7 @@ bool dCamera_c::eventCamera(s32 param_0) {
mEventData.field_0xc == specialType[20] || mEventData.field_0xc == specialType[21] ||
mEventData.field_0xc == specialType[22] || mEventData.field_0xc == specialType[23] ||
mEventData.field_0xc == specialType[24] || mEventData.field_0xc == specialType[18]) &&
- *(int*)((int)&mEventData + 0xc) != -1) // fakematch to force additional load
+ *(int*)((intptr_t)&mEventData + 0xc) != -1) // fakematch to force additional load
{
var_r29 = 28;
} else if (mEventData.field_0xc == specialType[14] && var_r29 != 2) {