mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-25 15:30:13 +00:00
fixup MAXMDIM
This commit is contained in:
parent
9d2d7fbde8
commit
d6dddec4dc
@ -262,9 +262,11 @@ EX heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special
|
||||
bf += revstep;
|
||||
if(flip && hrand(2) == 0) { bf += flip; flip *= -1; }
|
||||
|
||||
#if MAXMDIM >= 4
|
||||
// in 3D honeycombs we vary the direction, but never for three successive i's
|
||||
if(WDIM == 3 && firststate == hsOrigin && (i%3))
|
||||
bf.spin = hrandom_adjacent(bf.spin);
|
||||
#endif
|
||||
}
|
||||
cx[rad] = bf.at;
|
||||
heptagon *h = bf.at->master;
|
||||
|
Loading…
x
Reference in New Issue
Block a user