When restoring game we should not need to invoke rnd to test for hiding.

This commit is contained in:
Bart House
2019-06-30 16:41:24 -07:00
parent c928cda775
commit 1b0d47911f

View File

@@ -1140,7 +1140,7 @@ boolean ghostly;
them is different now than when the level was saved */
restore_cham(mtmp);
/* give hiders a chance to hide before their next move */
if (ghostly || elapsed > (long) rnd(10))
if (ghostly || (elapsed > 00 && elapsed > (long) rnd(10)))
hide_monst(mtmp);
}