parent
ecc6f7c3c6
commit
6cc2db09ab
|
@ -2580,6 +2580,9 @@ void cheatsReadGame(gzFile file, int version)
|
|||
|
||||
cheatsNumber = utilReadInt(file);
|
||||
|
||||
if (cheatsNumber > MAX_CHEATS)
|
||||
cheatsNumber = MAX_CHEATS;
|
||||
|
||||
if (version > 8)
|
||||
utilGzRead(file, cheatsList, sizeof(cheatsList));
|
||||
|
||||
|
|
Loading…
Reference in New Issue