X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=wumpus.c;h=2adc696d8179cc80d44252a4f5f6eba73d01e469;hb=ad6f6f6f4eaa9150587ec9ba56d9939542d9c54c;hp=f4dfe50fca6d90f60971f9e02c58fad8a001d066;hpb=c98e7d5b4f051d562c58e89dcc4622467e66f123;p=wumpus.git diff --git a/wumpus.c b/wumpus.c index f4dfe50..2adc696 100644 --- a/wumpus.c +++ b/wumpus.c @@ -367,6 +367,8 @@ badrange: /* 835 GOTO 900 */ check_shot(); + if (finished != NOT) + return; /* 840 NEXT K */ nextpath: ;