added some missing guards

This commit is contained in:
Zeno Rogue 2019-11-15 14:52:21 +01:00
parent e74ee1ae37
commit ad501869f1
2 changed files with 6 additions and 0 deletions

View File

@ -526,6 +526,7 @@ EX string geometry_name() {
return XLAT("spherical");
case gcSolNIH:
#if CAP_SOLV
switch(solnihv::geom()) {
case gSol:
return XLAT("Sol");
@ -536,6 +537,9 @@ EX string geometry_name() {
default:
return "unknown";
}
#else
return XLAT("Sol");
#endif
case gcNil:
return XLAT("Nil");

View File

@ -2619,7 +2619,9 @@ EX void turn(int delta) {
if(havewhat&HF_HEX) movehex_all();
wandering();
livecaves();
#if CAP_INV
if(inv::on) inv::compute();
#endif
terracotta();
heat::processfires();
if(havewhat&HF_WHIRLPOOL) whirlpool::move();