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:
parent
60bf28f359
commit
e5c00b2df3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user