1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

separate modecodes for product and rotspace

This commit is contained in:
Zeno Rogue 2019-09-27 18:05:01 +02:00
parent 1359dfcd62
commit bd7d08f9db

View File

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