]> granicus.if.org Git - nethack/commitdiff
Fix copy-paste error
authorPasi Kallinen <paxed@alt.org>
Mon, 7 Feb 2022 11:09:52 +0000 (13:09 +0200)
committerPasi Kallinen <paxed@alt.org>
Mon, 7 Feb 2022 11:09:52 +0000 (13:09 +0200)
src/cmd.c

index 112708077ad439886882dc67e2acef3a11f48ccf..03c552cfd4c2095ff2f7d8037eb0bb269935b2c9 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -2083,7 +2083,7 @@ do_fight(void)
 {
     if (g.context.forcefight) {
         Norep("Double fight prefix, canceled.");
-        g.context.forcefight = 1;
+        g.context.forcefight = 0;
         g.domove_attempting = 0;
         return ECMD_CANCEL;
     }