summaryrefslogtreecommitdiff
path: root/src/d/d_camera.cpp
diff options
context:
space:
mode:
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) {