1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 11:27:39 +00:00

curses thrown are now animated

This commit is contained in:
Zeno Rogue
2021-06-06 10:35:55 +02:00
parent 4a4a0fc217
commit f94163bb78
3 changed files with 32 additions and 2 deletions

View File

@@ -2698,7 +2698,15 @@ void celldrawer::draw() {
draw_item_full();
draw_monster_full();
if(animations[LAYER_THROW].count(c)) {
shiftmatrix Vthrow = V;
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 CAP_TEXTURE
if(!texture::using_aura())
#endif