diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-23 21:10:59 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-23 21:10:59 +0100 |
commit | 921ca7712e9377359422d756163563337825e018 (patch) | |
tree | 951839921ec95f6fa811fb4ba02fa0f6b1a6075e /src | |
parent | added some missing functions (diff) | |
download | re3-921ca7712e9377359422d756163563337825e018.tar re3-921ca7712e9377359422d756163563337825e018.tar.gz re3-921ca7712e9377359422d756163563337825e018.tar.bz2 re3-921ca7712e9377359422d756163563337825e018.tar.lz re3-921ca7712e9377359422d756163563337825e018.tar.xz re3-921ca7712e9377359422d756163563337825e018.tar.zst re3-921ca7712e9377359422d756163563337825e018.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/re3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 42e59e6e..7c780516 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -936,7 +936,7 @@ extern bool gbRenderWorld2; "Uzi Money", "Toyminator", "Rigged To Blow", "Bullion Run", "Rumble", "The Exchange" }; - missionEntry = DebugMenuAddVar("Debug", "Select mission", &nextMissionToSwitch, nil, 1, 0, 79, missions); + missionEntry = DebugMenuAddVar("Debug", "Select mission", &nextMissionToSwitch, nil, 1, 0, ARRAY_SIZE(missions) - 1, missions); DebugMenuEntrySetWrap(missionEntry, true); DebugMenuAddCmd("Debug", "Start selected mission ", SwitchToMission); #endif |