Don't stop travel when going past a closed door

This commit is contained in:
Pasi Kallinen
2022-03-24 19:33:37 +02:00
parent 5478baa6ee
commit 60bf399f91
2 changed files with 3 additions and 1 deletions

View File

@@ -3252,7 +3252,7 @@ lookaround(void)
/* ignore if diagonal */
if (x != u.ux && y != u.uy)
continue;
if (g.context.run != 1) {
if (g.context.run != 1 && !g.context.travel) {
if (flags.mention_walls)
You("stop in front of the door.");
goto stop;