diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-04-13 23:54:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 20:54:57 -0700 |
| commit | f891887626e36b991b0e8afd4e6b995c3d1a4540 (patch) | |
| tree | 639a8bbd0062ca6f0d8ae6775e2afb06b2b096bf /src/d/d_ev_camera.cpp | |
| parent | 3df5c7bb42c1b886024b254fec28e5f98310b630 (diff) | |
d_stage cleanup (#2392)
Diffstat (limited to 'src/d/d_ev_camera.cpp')
| -rw-r--r-- | src/d/d_ev_camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_ev_camera.cpp b/src/d/d_ev_camera.cpp index 3ff2ca4ba3..0852a371a0 100644 --- a/src/d/d_ev_camera.cpp +++ b/src/d/d_ev_camera.cpp @@ -201,8 +201,8 @@ extern "C" u8 _90__7cSAngle[2 + 2 /* padding */]; static bool func_800889F8(int param_0) { dStage_MapEventInfo_c* info = dComIfGp_getStage()->getMapEventInfo(); if (info != NULL) { - for (int i = 0; i < info->mCount; i++) { - if (param_0 == info->mData[i].field_0x4) { + for (int i = 0; i < info->num; i++) { + if (param_0 == info->m_entries[i].field_0x4) { return true; } } |
