1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

rogueviz:: added some guards

This commit is contained in:
Zeno Rogue
2023-04-15 01:24:16 +02:00
parent 782b6ab4f8
commit 0410f54d43
17 changed files with 53 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
#include "rogueviz.h"
namespace rogueviz {
#if CAP_MODELS
namespace objmodels {
bool scan(fhstream& hs, char& c) { return fscanf(hs.f, "%c", &c) == 1; }
@@ -330,4 +330,5 @@ auto cf = addHook(hooks_configfile, 100, [] {
});
}
#endif
}