From b76a96bf400a46f9798a4223e2ef2ac674c30c55 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 22 Apr 2024 14:46:15 +0300 Subject: [PATCH] Add missing break A rolling boulder hitting a wall or a tree could keep going, possibly going out of map bounds --- src/trap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trap.c b/src/trap.c index b32ce7841..53bdfd04d 100644 --- a/src/trap.c +++ b/src/trap.c @@ -3384,6 +3384,7 @@ launch_obj( if (!Deaf) pline("Thump!"); wake_nearto(x2, y2, 16); + break; } } } /* while dist > 0 */