diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-04-24 02:46:59 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-04-24 02:46:59 -0400 |
| commit | 9dedd4456723081946aac0e0afc651cc46c647f6 (patch) | |
| tree | 0b84be8bfc01a27c9178d026c026638c552df2cd /src/d/d_snap.cpp | |
| parent | be23b195ec9cc5805c45f9423837d6cb74d4afce (diff) | |
Demo work
Diffstat (limited to 'src/d/d_snap.cpp')
| -rw-r--r-- | src/d/d_snap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_snap.cpp b/src/d/d_snap.cpp index 6369ea8c..39f1ba3e 100644 --- a/src/d/d_snap.cpp +++ b/src/d/d_snap.cpp @@ -1448,7 +1448,7 @@ int dSnap_PhotoIndex2TableIndex(int photoIndex) { /* 800CCFE4-800CD00C .text dSnap_GetFigRoomId__Fi */ int dSnap_GetFigRoomId(int tableIndex) { - if (tableIndex >= (int)ARRAY_SIZE(l_CharaData)) { + if (tableIndex >= CharaDataTblSize) { return 0xFF; } return l_CharaData[tableIndex].figRoom; |
