1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 17:37:39 +00:00

refactored to use isDie if applicable

This commit is contained in:
Zeno Rogue
2021-05-30 13:48:24 +02:00
parent b63a70f279
commit be5194958e
8 changed files with 9 additions and 9 deletions

View File

@@ -1601,7 +1601,7 @@ void celldrawer::draw_features() {
poly_outline = OUTLINE_DEFAULT;
}
else if(among(c->wall, waRichDie, waHappyDie)) {
else if(isDie(c->wall)) {
color_t col = darkena(winf[c->wall].color, 0, 0xFF);
ld footphase;