mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 00:17:39 +00:00
Fix some unguarded bits of CAP_BT and CAP_CRYSTAL.
Found by trying to build with `-DISMINI=0`, not that that comes even close to working.
This commit is contained in:
2
reg3.cpp
2
reg3.cpp
@@ -282,6 +282,7 @@ EX namespace reg3 {
|
||||
return Id;
|
||||
}
|
||||
|
||||
#if CAP_CRYSTAL
|
||||
int encode_coord(const crystal::coord& co) {
|
||||
int c = 0;
|
||||
for(int i=0; i<4; i++) c |= ((co[i]>>1) & 3) << (2*i);
|
||||
@@ -314,6 +315,7 @@ EX namespace reg3 {
|
||||
}
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
struct hrmap_field3 : reg3::hrmap_quotient3 {
|
||||
|
||||
|
Reference in New Issue
Block a user