From: Pasi Kallinen Date: Sat, 5 Mar 2022 13:46:16 +0000 (+0200) Subject: Get out of moverock correctly, so we clear next_boulder X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3834bb2ca09d0eba0ab8b9365b1b8257a0c0066b;p=nethack Get out of moverock correctly, so we clear next_boulder --- diff --git a/src/hack.c b/src/hack.c index cfc3f20c2..f4dd76948 100644 --- a/src/hack.c +++ b/src/hack.c @@ -154,7 +154,8 @@ moverock(void) pline("That feels like a boulder."); map_object(otmp, TRUE); nomul(0); - return -1; + res = -1; + goto moverock_done; } /* when otmp->next_boulder is 1, xname() will format it as