mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-30 13:32:59 +00:00
rewritten the o-key functionality to let the user choose from several applicable options
This commit is contained in:
@@ -259,9 +259,8 @@ void show() {
|
||||
dialog::display();
|
||||
}
|
||||
|
||||
named_functionality o_key() {
|
||||
if(on) return named_dialog("sunflowers", show);
|
||||
return named_functionality();
|
||||
void o_key(o_funcs& v) {
|
||||
if(on) v.push_back(named_dialog("sunflowers", show));
|
||||
}
|
||||
|
||||
auto hook = 0
|
||||
|
||||
Reference in New Issue
Block a user