mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 02:17:40 +00:00
fixed MAXMDIM guards
This commit is contained in:
@@ -406,8 +406,10 @@ struct hrmap_crystal : hrmap_standard {
|
||||
bool crystal3() { return WDIM == 3; }
|
||||
|
||||
hrmap_crystal() {
|
||||
if(crystal3()) reg3::generate(), cs.dim = 4;
|
||||
else cs.build();
|
||||
#if MAXMDIM >= 4
|
||||
if(crystal3()) reg3::generate(), cs.dim = 4; else
|
||||
#endif
|
||||
cs.build();
|
||||
|
||||
camelot_center = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user