1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +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) {
setland(c, specialland);
if(specialland == laCrossroads4 || chaosmode) {
int x, y;
tie(x,y) = cell_to_pair(c);
c->land = getEuclidLand(y);
}
if(specialland == laCrossroads) {
int x, y;
tie(x,y) = cell_to_pair(c);
@ -814,11 +819,6 @@ void setLandEuclid(cell *c) {
c->wall = waMercury;
}
}
if(specialland == laCrossroads4) {
int x, y;
tie(x,y) = cell_to_pair(c);
c->land = getEuclidLand(y);
}
if(specialland == laWhirlpool) {
c->land = laOcean;
c->landparam = 99;