diff --git a/src/pray.c b/src/pray.c index 29a2bd601..646de494c 100644 --- a/src/pray.c +++ b/src/pray.c @@ -421,7 +421,7 @@ int trouble; Without something like this, fix_all_troubles can get stuck in an infinite loop trying to fix STUCK_IN_WALL and repeatedly failing. */ - set_itimeout(&HPasses_walls, (long) d(4, 4)); + set_itimeout(&HPasses_walls, (long) (d(4, 4) + 4)); /* 8..20 */ /* how else could you move between packed rocks or among lattice forming "solid" rock? */ You_feel("much slimmer.");