r9404: Prevent illegal array access

Using kill all enemies cheat via ALT + o caused reading MercPtrs from index 254 when its last element is at 253
This commit is contained in:
Asdow
2022-11-04 20:26:01 +02:00
parent e3c1c5e191
commit 95e9d83165
3 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -55,8 +55,8 @@
#endif
CHAR8 czVersionNumber[16] = { "Build 10.10.22" }; //YY.MM.DD
CHAR8 czVersionNumber[16] = { "Build 22.11.04" }; //YY.MM.DD
CHAR16 zTrackingNumber[16] = { L"Z" };
CHAR16 zRevisionNumber[16] = { L"Revision 9403" };
CHAR16 zRevisionNumber[16] = { L"Revision 9404" };
// SAVE_GAME_VERSION is defined in header, change it there