1
0
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:
Arthur O'Dwyer
2020-05-03 21:21:14 -04:00
parent 3e3457bd81
commit 36136dab6a
4 changed files with 14 additions and 8 deletions

View File

@@ -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 {