1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +00:00

you can no longer try to change the adjacency rule in infinite-order tilings

This commit is contained in:
Zeno Rogue 2020-03-11 10:09:23 +01:00
parent 0915c1074d
commit d6578cd074

View File

@ -1184,6 +1184,7 @@ EX int mine_adjacency_rule = 0;
EX map<cell*, vector<cell*>> adj_memo;
EX bool geometry_has_alt_mine_rule() {
if(S3 >= OINF) return false;
if(WDIM == 2) return valence() > 3;
if(WDIM == 3) return !among(geometry, gHoroHex, gCell5, gBitrunc3, gCell8, gECell8, gCell120, gECell120);
return true;