1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-07 21:16:48 +00:00

fixup addItem_mouse

This commit is contained in:
Zeno Rogue 2024-06-29 10:02:50 +02:00
parent e2cd21d3be
commit 6a474da099

View File

@ -2015,6 +2015,10 @@ EX namespace dialog {
dialog::add_action([&b] { b = !b; });
}
EX void addItem_mouse(const string& s, key_type c) {
dialog::addBoolItem(s, mousekey == c, c);
}
EX bool cheat_forbidden() {
if(tactic::on && !cheater) {
addMessage(XLAT("Not available in the pure tactics mode!"));