1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

rogueviz:: fixed the use of rand to hrand

This commit is contained in:
Zeno Rogue 2018-06-30 16:37:39 +02:00
parent 11d9d3de5a
commit e5fe57fdbf

View File

@ -615,7 +615,7 @@ namespace sag {
int it = s<2 ? (s+1) : s-2;
for(int ii=0; ii<it; ii++) {
int d = rand() % c->type;
int d = hrand(c->type);
c = c->mov[d];
if(!c) goto aiter;
if(c->wparam != INSNAKE) goto aiter;