Fixed {IS_HERO} to prevent loss of hero ellipse when leveling up

This commit is contained in:
Elvish_Hunter 2022-07-27 16:27:01 +02:00
parent 9b766013b2
commit 489d955d80
2 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,7 @@
### Miscellaneous and Bug Fixes
* Fixed drake flare leadership animation over water (issue #3996)
* Fixed animations not clearing properly when zoomed (issue #6589)
* Fixed the `{IS_HERO}` macro to avoid losing the hero ellipse when a unit levels up
## Version 1.16.5
### Miscellaneous and Bug Fixes

View file

@ -19,13 +19,16 @@
## so i'll leave it for now. since this icon is afaik not transparent though should not be a problem.
#define IS_HERO
# Embed this into a unit declaration to add a hero icon to the unit.
ellipse="misc/ellipse-hero"
[+modifications]
[object]
[effect]
apply_to=overlay
add="misc/hero-icon.png"
[/effect]
[effect]
apply_to=ellipse
ellipse="misc/ellipse-hero"
[/effect]
[/object]
[/modifications]
#enddef