1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 17:37:39 +00:00

modecode for product geometries

This commit is contained in:
Zeno Rogue
2019-08-20 13:07:16 +02:00
parent 63bd06e75c
commit 7aed1b8551
4 changed files with 7 additions and 5 deletions

View File

@@ -1054,6 +1054,8 @@ int modecodetable[42][6] = {
// unused codes: 6 (cheat/tampered), 25, 254, 255
modecode_t modecode() {
// bit 61: product
if(prod) return PIU(modecode()) | (1ll << 61);
#if CAP_SAVE
if(anticheat::tampered || cheater || geometry >= gGUARD) return 6;
#endif