1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-26 15:12:48 +00:00

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

View File

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