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
1 changed files with 1 additions and 1 deletions

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;