1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

CAP_ARCM guards added

This commit is contained in:
Zeno Rogue 2022-10-16 10:31:17 +02:00
parent 49564b2e0e
commit 93892718c5

View File

@ -2044,6 +2044,7 @@ void celldrawer::draw_cellstat() {
if(c->master->emeraldval || sh.is_mirrored) label += 'R'; if(c->master->emeraldval || sh.is_mirrored) label += 'R';
if(arb::current.was_split_for_football) label += "F" + its(sh.football_type); if(arb::current.was_split_for_football) label += "F" + its(sh.football_type);
} }
#if CAP_ARCM
else if(arcm::in() && debug_tiles == 2) { else if(arcm::in() && debug_tiles == 2) {
int id = arcm::id_of(c->master); int id = arcm::id_of(c->master);
int tid = arcm::current.tilegroup[id]; int tid = arcm::current.tilegroup[id];
@ -2053,6 +2054,7 @@ void celldrawer::draw_cellstat() {
label = its(tid); label = its(tid);
if(mirrored) label += "R"; if(mirrored) label += "R";
} }
#endif
else else
label = its(shvid(c)); label = its(shvid(c));
queuestr(V, .5, label, 0xFFFFFFFF, 1); queuestr(V, .5, label, 0xFFFFFFFF, 1);