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