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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user