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:
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