mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 10:17:56 +00:00
fixed Racing in Crossroads
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user