summaryrefslogtreecommitdiff
path: root/src/d/d_ev_camera.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-24 19:57:36 -0500
committerGitHub <noreply@github.com>2025-12-24 16:57:36 -0800
commit229527daf71c76965ef0735abca530cee68b7358 (patch)
tree0325055c01866d359b1556a2cbc6b65cbd238466 /src/d/d_ev_camera.cpp
parentcefe919b8d39cb5b60d79b1dc7452e80abdf9657 (diff)
Resolve all gameInfo fakematches (#2995)
* Clean up various inlines/fakematches/comments * Copy OptRuby inline name from TWW debug * Resolve all dEvt_control_c related fakematches, return pointer instead of reference * Fix some more missing inline usages
Diffstat (limited to 'src/d/d_ev_camera.cpp')
-rw-r--r--src/d/d_ev_camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_ev_camera.cpp b/src/d/d_ev_camera.cpp
index a961562f80..ac2d2ca32f 100644
--- a/src/d/d_ev_camera.cpp
+++ b/src/d/d_ev_camera.cpp
@@ -64,7 +64,7 @@ int dCamera_c::EndEventCamera(int param_1) {
clrFlag(0x20000000);
mEventData.field_0x0 = 1;
- if (dComIfGp_getEvent().runCheck()) {
+ if (dComIfGp_getEvent()->runCheck()) {
dComIfGp_getEventManager().setCameraPlay(2);
}
@@ -1845,7 +1845,7 @@ bool dCamera_c::talktoEvCamera() {
bool dCamera_c::maptoolIdEvCamera() {
if (mCurCamStyleTimer == 0) {
int id;
- getEvIntData(&id, "ID", g_dComIfG_gameInfo.play.getEvent().getMapToolId());
+ getEvIntData(&id, "ID", g_dComIfG_gameInfo.play.getEvent()->getMapToolId());
mEventData.field_0x8 = 0;
field_0x160 = 0;