mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 10:57:59 +00:00
added MAXMDIM guards
This commit is contained in:
@@ -667,6 +667,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
#endif
|
||||
else if(arb::in() && arb::current.have_line)
|
||||
c->wall = arb::linespattern(c) ? waTrapdoor : waNone;
|
||||
#if MAXMDIM >= 4
|
||||
else if(reg3::in_rule()) switch(geometry) {
|
||||
case gSpace534: {
|
||||
if(c->master->fieldval == 0) c->wall = waTrapdoor;
|
||||
@@ -690,6 +691,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
}
|
||||
default: ;
|
||||
}
|
||||
#endif
|
||||
else if(euclid && !arcm::in()) {
|
||||
auto co = euc2_coordinates(c);
|
||||
int y = co.second;
|
||||
|
||||
Reference in New Issue
Block a user