1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47:39 +00:00

Chaos mode not works in Euclidean

This commit is contained in:
Zeno Rogue
2018-11-27 19:44:15 +01:00
parent f2ee616eab
commit e9920d8d57
2 changed files with 7 additions and 2 deletions

View File

@@ -761,7 +761,12 @@ void clear_euland(eLand first) {
}
eLand switchable(eLand nearland, eLand farland, int c) {
if(specialland == laCrossroads4) {
if(chaosmode) {
if(hrand(6) == 0)
return getNewLand(nearland);
return nearland;
}
else if(specialland == laCrossroads4) {
if(hrand(15) == 0)
return getNewLand(nearland);
return nearland;