more things considered when you're on the brink

This commit is contained in:
nhmall
2019-11-29 11:14:55 -05:00
parent 059e0277ff
commit fd7d0f5d52
9 changed files with 31 additions and 15 deletions

View File

@@ -154,7 +154,8 @@ boolean check_pit;
if (u.usteed && P_SKILL(P_RIDING) < P_BASIC)
return FALSE;
if (check_pit && !Flying
&& (t = t_at(u.ux, u.uy)) != 0 && uteetering_at_seen_pit(t))
&& (t = t_at(u.ux, u.uy)) != 0
&& (uteetering_at_seen_pit(t) || uescaped_shaft(t)))
return FALSE;
return (boolean) ((!Levitation || Is_airlevel(&u.uz)