Include item overlays in attack animations (shows the proper color of screwdrivers etc) (#38225)

* overlay attacks

* this works too

* fix trays too
This commit is contained in:
vuonojenmustaturska
2018-06-03 21:24:45 +03:00
committed by letterjay
parent ab7709bedd
commit 568dfa7f35
2 changed files with 2 additions and 2 deletions

View File

@@ -562,7 +562,7 @@
if(visual_effect_icon)
I = image('icons/effects/effects.dmi', A, visual_effect_icon, A.layer + 0.1)
else if(used_item)
I = image(used_item.icon, A, used_item.icon_state, A.layer + 0.1)
I = image(icon = used_item, loc = A, layer = A.layer + 0.1)
// Scale the icon.
I.transform *= 0.75