1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 18:27:55 +00:00

spaceship in turn-based mode attack is graphically represented by shooting a tiny missile, not by bumping

This commit is contained in:
Zeno Rogue
2024-10-12 10:39:30 +02:00
parent 831991d87e
commit 75247f9271
5 changed files with 25 additions and 7 deletions

View File

@@ -2987,7 +2987,9 @@ void celldrawer::draw() {
ld footphase;
applyAnimation(c, Vthrow, footphase, LAYER_THROW);
eItem it = animations[LAYER_THROW][c].thrown_item;
drawItemType(it, c, Vthrow, iinf[it].color, 0, false);
if(it) drawItemType(it, c, Vthrow, iinf[it].color, 0, false);
eMonster mo = animations[LAYER_THROW][c].thrown_monster;
if(mo) drawMonsterType(mo, c, Vthrow, minf[mo].color, 0, minf[mo].color);
}
#if CAP_TEXTURE