From: Eric S. Raymond Date: Thu, 15 Jun 2017 20:54:29 +0000 (-0400) Subject: Don't do dwarf moves after a fallback command. X-Git-Tag: 1.1~290^2~6 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=fc7f52f83f1ad266e09f2e6883573876bad5f6ca Don't do dwarf moves after a fallback command. Avoids a crash bug. --- diff --git a/main.c b/main.c index 3d4962a..5b35f6f 100644 --- a/main.c +++ b/main.c @@ -1058,7 +1058,7 @@ static bool do_command(FILE *cmdin) if (i == -1) { /* Gee, I don't understand. */ if (fallback_handler(rawbuf)) - return true; + continue; SETPRM(1,WD1,WD1X); RSPEAK(DONT_KNOW); goto L2600;