1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-21 08:09:43 +00:00

added some missing MAXMDIM guards

This commit is contained in:
Zeno Rogue
2020-05-31 17:21:16 +02:00
parent b4687213c3
commit a8a0805b6f
6 changed files with 27 additions and 1 deletions

View File

@@ -282,6 +282,7 @@ void virtualRebase_cell(cell*& base, T& at, const U& check) {
base = newbase;
at = best_at;
}
#if MAXMDIM >= 4
if(reg3::ultra_mirror_in()) {
again:
for(auto& v: cgi.ultra_mirrors) {
@@ -294,6 +295,7 @@ void virtualRebase_cell(cell*& base, T& at, const U& check) {
}
}
}
#endif
}
template<class T, class U>