1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed Racing in Crossroads

This commit is contained in:
Zeno Rogue 2019-08-07 20:38:40 +02:00
parent 60bf28f359
commit e5c00b2df3

View File

@ -297,7 +297,7 @@ eLand getNewLand(eLand old) {
if(racing::on && old != laElementalWall) {
eLand l = old;
using racing::race_lands;
while(l == old) l = race_lands[hrand(isize(race_lands))];
while(l == old) l = race_lands[hrand(16)]; // fixed at 16
if(l == laElementalWall) l = randomElementalLand();
if(l == laMirror) l = laCrossroads;
return l;