mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
fixup addItem_mouse
This commit is contained in:
parent
e2cd21d3be
commit
6a474da099
@ -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!"));
|
||||
|
Loading…
Reference in New Issue
Block a user