Break out of infinite loops!

This commit is contained in:
jl777
2019-03-01 02:40:17 -11:00
parent 0b23f62737
commit 4744a6f6c3
10 changed files with 70 additions and 64 deletions

View File

@@ -158,7 +158,7 @@ do_zap(struct rogue_state *rs)
{
do
{
find_floor(NULL, &new_pos, FALSE, TRUE);
find_floor(rs,NULL, &new_pos, FALSE, TRUE);
} while (ce(new_pos, hero));
}
else