1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 06:07:12 +00:00

added missing MAXMDIM guards

This commit is contained in:
Zeno Rogue
2022-02-17 21:00:10 +01:00
parent 4394502e3e
commit 67a19d93bb
8 changed files with 45 additions and 2 deletions

View File

@@ -2907,7 +2907,9 @@ EX void shift_view(hyperpoint H) {
static bool recursive = false;
if(!recursive && intra::in) {
dynamicval<bool> r(recursive, true);
#if MAXMDIM >= 4
intra::shift_view_portal(H);
#endif
return;
}
View = get_shift_view_of(H, View);