When restoring game we should not need to invoke rnd to test for hiding.
This commit is contained in:
+1
-1
@@ -1140,7 +1140,7 @@ boolean ghostly;
|
|||||||
them is different now than when the level was saved */
|
them is different now than when the level was saved */
|
||||||
restore_cham(mtmp);
|
restore_cham(mtmp);
|
||||||
/* give hiders a chance to hide before their next move */
|
/* 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);
|
hide_monst(mtmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user