From e5c00b2df3e97f4283762b5544eebf9e9dee6b47 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 7 Aug 2019 20:38:40 +0200 Subject: [PATCH] fixed Racing in Crossroads --- landlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landlock.cpp b/landlock.cpp index 8fe4d621..2d445e88 100644 --- a/landlock.cpp +++ b/landlock.cpp @@ -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;