mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 11:54:48 +00:00
you can no longer try to change the adjacency rule in infinite-order tilings
This commit is contained in:
parent
0915c1074d
commit
d6578cd074
1
cell.cpp
1
cell.cpp
@ -1184,6 +1184,7 @@ EX int mine_adjacency_rule = 0;
|
|||||||
EX map<cell*, vector<cell*>> adj_memo;
|
EX map<cell*, vector<cell*>> adj_memo;
|
||||||
|
|
||||||
EX bool geometry_has_alt_mine_rule() {
|
EX bool geometry_has_alt_mine_rule() {
|
||||||
|
if(S3 >= OINF) return false;
|
||||||
if(WDIM == 2) return valence() > 3;
|
if(WDIM == 2) return valence() > 3;
|
||||||
if(WDIM == 3) return !among(geometry, gHoroHex, gCell5, gBitrunc3, gCell8, gECell8, gCell120, gECell120);
|
if(WDIM == 3) return !among(geometry, gHoroHex, gCell5, gBitrunc3, gCell8, gECell8, gCell120, gECell120);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user