From 1b0d47911fbaa0cba0ae11ad92eea6aaee624a54 Mon Sep 17 00:00:00 2001 From: Bart House Date: Sun, 30 Jun 2019 16:41:24 -0700 Subject: [PATCH] When restoring game we should not need to invoke rnd to test for hiding. --- src/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restore.c b/src/restore.c index 14612e08e..b6126a227 100644 --- a/src/restore.c +++ b/src/restore.c @@ -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); }