1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-28 07:59:04 +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

@@ -2886,7 +2886,7 @@ EX bool drawMonster(const shiftmatrix& Vparam, int ct, cell *c, color_t col, col
// golems, knights, and hyperbugs don't face the player (mondir-controlled)
// also whatever in the lineview mode, and whatever in the quotient geometry
else if(among(c->monst, moAnimatedDie, moAngryDie)) {
else if(isDie(c->monst)) {
transmatrix U = inverse_shift(Vparam, Vs);
U = rgpushxto0(tC0(U));
die_target = Vparam;