mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-21 08:00:25 +00:00
modecode now ignores invalid geometries in the save
This commit is contained in:
parent
3182600a58
commit
48c15ce297
@ -903,7 +903,7 @@ int modecodetable[42][6] = {
|
|||||||
|
|
||||||
int modecode() {
|
int modecode() {
|
||||||
#if CAP_SAVE
|
#if CAP_SAVE
|
||||||
if(anticheat::tampered || cheater) return 6;
|
if(anticheat::tampered || cheater || geometry >= gGUARD) return 6;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// compute the old code
|
// compute the old code
|
||||||
|
Loading…
Reference in New Issue
Block a user