From 6766943455daf16cad80d9a50ff1222fb33ecf07 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 24 Aug 2022 12:53:04 +0300 Subject: [PATCH] Add boulder pushing to therecmdmenu --- src/cmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd.c b/src/cmd.c index acb2bf311..403bb065b 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -5469,6 +5469,9 @@ there_cmd_menu_next2u( mcmd_addmenu(win, MCMD_MOVE_DIR, "Move on the trap"), ++K; } + if (levl[x][y].glyph == objnum_to_glyph(BOULDER)) + mcmd_addmenu(win, MCMD_MOVE_DIR, "Push the boulder"), ++K; + mtmp = m_at(x, y); if (mtmp && !canspotmon(mtmp)) mtmp = 0;