1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

Euclidean Chaos Mode works not only in CR4

This commit is contained in:
Zeno Rogue 2018-11-27 21:39:04 +01:00
parent bd479d3c41
commit 35b826645c

View File

@ -801,6 +801,11 @@ eLand getEuclidLand(int c) {
void setLandEuclid(cell *c) { void setLandEuclid(cell *c) {
setland(c, specialland); setland(c, specialland);
if(specialland == laCrossroads4 || chaosmode) {
int x, y;
tie(x,y) = cell_to_pair(c);
c->land = getEuclidLand(y);
}
if(specialland == laCrossroads) { if(specialland == laCrossroads) {
int x, y; int x, y;
tie(x,y) = cell_to_pair(c); tie(x,y) = cell_to_pair(c);
@ -814,11 +819,6 @@ void setLandEuclid(cell *c) {
c->wall = waMercury; c->wall = waMercury;
} }
} }
if(specialland == laCrossroads4) {
int x, y;
tie(x,y) = cell_to_pair(c);
c->land = getEuclidLand(y);
}
if(specialland == laWhirlpool) { if(specialland == laWhirlpool) {
c->land = laOcean; c->land = laOcean;
c->landparam = 99; c->landparam = 99;