Continue with next room if the path for the arrow is found
[wumpus.git] / wumpus.c
index b4d983c73a444ff1ac2572ae9d636ee62f1f2435..f4dfe50fca6d90f60971f9e02c58fad8a001d066 100644 (file)
--- a/wumpus.c
+++ b/wumpus.c
@@ -355,6 +355,7 @@ badrange:
                check_shot();
                if (finished != NOT)
                    return;
+               goto nextpath;
            }
 
            /* 820 NEXT K1                                              */
@@ -368,6 +369,7 @@ badrange:
        check_shot();
 
        /* 840 NEXT K                                                   */
+       nextpath: ;
     }
 
     if (finished == NOT)