1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-16 18:24:48 +00:00

fixed guards

This commit is contained in:
Zeno Rogue 2020-05-31 18:04:43 +02:00
parent b0c6c95305
commit d6e98ecf2a
2 changed files with 3 additions and 1 deletions

View File

@ -997,7 +997,7 @@ EX ld spherity(const transmatrix& V) {
} }
EX bool confusingGeometry() { EX bool confusingGeometry() {
#if MAXMDIM #if MAXMDIM >= 4
if(reg3::ultra_mirror_in()) return true; if(reg3::ultra_mirror_in()) return true;
#endif #endif
return quotient || elliptic || (fake::in() && fake::multiple); return quotient || elliptic || (fake::in() && fake::multiple);

View File

@ -998,8 +998,10 @@ EX named_functionality get_o_key() {
if(peace::on) if(peace::on)
res.push_back(named_dialog(XLAT("peaceful mode"), peace::showMenu)); res.push_back(named_dialog(XLAT("peaceful mode"), peace::showMenu));
#if CAP_TEXTURE
if(texture::config.tstate) if(texture::config.tstate)
res.push_back(named_dialog(XLAT("texture mode"), texture::showMenu)); res.push_back(named_dialog(XLAT("texture mode"), texture::showMenu));
#endif
dialog::infix = ""; dialog::infix = "";