1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

dialog items now use key_type for key, not int -- this fixes the bugs where char was used, causing search to fail

This commit is contained in:
Zeno Rogue
2024-06-18 01:04:48 +02:00
parent c22aeedde9
commit 6728484cf7
4 changed files with 51 additions and 48 deletions

View File

@@ -724,7 +724,7 @@ EX eLandStructure default_land_structure() {
return lsNoWalls;
}
EX void menuitem_land_structure(char key) {
EX void menuitem_land_structure(key_type key) {
if(default_land_structure() == land_structure && !ineligible_starting_land)
dialog::addBoolItem(XLAT("land structure"), false, key);