mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
fixup to default_land_structure
This commit is contained in:
parent
c0fc9c4ac5
commit
9fce0078c8
15
menus.cpp
15
menus.cpp
@ -702,14 +702,13 @@ EX void mode_higlights() {
|
||||
dialog::display();
|
||||
}
|
||||
|
||||
EX bool default_land_structure() {
|
||||
return
|
||||
bounded ? lsSingle :
|
||||
(tactic::on || princess::challenge) ? lsSingle :
|
||||
yendor::on ? yendor::get_land_structure() :
|
||||
specialland == laCanvas ? lsSingle :
|
||||
nice_walls_available() ? lsNiceWalls :
|
||||
lsNoWalls;
|
||||
EX eLandStructure default_land_structure() {
|
||||
if(bounded) return lsSingle;
|
||||
if(tactic::on || princess::challenge) return lsSingle;
|
||||
if(yendor::on) return yendor::get_land_structure();
|
||||
if(specialland == laCanvas) return lsSingle;
|
||||
if(nice_walls_available()) return lsNiceWalls;
|
||||
return lsNoWalls;
|
||||
}
|
||||
|
||||
EX void menuitem_land_structure(char key) {
|
||||
|
Loading…
Reference in New Issue
Block a user