Add boulder pushing to therecmdmenu

This commit is contained in:
Pasi Kallinen
2022-08-24 12:53:04 +03:00
parent edae8273b9
commit 6766943455

View File

@@ -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;