From d6e98ecf2aa80fd8dbc18751cea377306e3a1710 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 31 May 2020 18:04:43 +0200 Subject: [PATCH] fixed guards --- hypgraph.cpp | 2 +- menus.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 440234cd..caafb0f0 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -997,7 +997,7 @@ EX ld spherity(const transmatrix& V) { } EX bool confusingGeometry() { - #if MAXMDIM + #if MAXMDIM >= 4 if(reg3::ultra_mirror_in()) return true; #endif return quotient || elliptic || (fake::in() && fake::multiple); diff --git a/menus.cpp b/menus.cpp index e04d82c5..b03659de 100644 --- a/menus.cpp +++ b/menus.cpp @@ -998,8 +998,10 @@ EX named_functionality get_o_key() { if(peace::on) res.push_back(named_dialog(XLAT("peaceful mode"), peace::showMenu)); + #if CAP_TEXTURE if(texture::config.tstate) res.push_back(named_dialog(XLAT("texture mode"), texture::showMenu)); + #endif dialog::infix = "";