1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47: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

@@ -9,11 +9,17 @@
namespace hr {
EX namespace bt {
#if CAP_BT
/** note: nihsolv and kd3 tilings return bt::in(). They are defined elsewhere, although some of bt:: functions are used for them */
EX bool in() { return cgflags & qBINARY; }
EX bool in() {
#if CAP_BT
return cgflags & qBINARY;
#else
return false;
#endif
}
#if CAP_BT
#if HDR
enum bindir {
bd_right = 0,