mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 03:27:55 +00:00
rewritten the o-key functionality to let the user choose from several applicable options
This commit is contained in:
@@ -499,9 +499,8 @@ namespace flocking {
|
||||
dialog::display();
|
||||
}
|
||||
|
||||
named_functionality o_key() {
|
||||
if(vizid == &flock_id) return named_dialog("flocking", show);
|
||||
return named_functionality();
|
||||
void o_key(o_funcs& v) {
|
||||
if(vizid == &flock_id) v.push_back(named_dialog("flocking", show));
|
||||
}
|
||||
|
||||
auto hooks =
|
||||
|
Reference in New Issue
Block a user