no more idle animations for units next to a hostile unit

This commit is contained in:
Jérémy Rosen 2007-09-01 06:49:17 +00:00
parent 79c20ac42f
commit 2cff4bf3dd
2 changed files with 10 additions and 2 deletions

View file

@ -18,6 +18,7 @@ Version 1.3.7+svn:
does it for us (and better)
* graphics:
* new graphics for the highwayman
* no more idle animations for units next to an enemy unit
* miscellaneous and bug fixes
* various bug fixes and code cleanups

View file

@ -197,8 +197,7 @@
# to provide a standard set of conditions to play the idle animation
#define STANDARD_IDLE_FILTER
# Poisoned units should have no idle animation. This macro defines a
# filter that excludes them.
# Poisoned units should have no idle animation.
[unit_filter]
[not]
[wml_filter]
@ -208,6 +207,14 @@
[/wml_filter]
[/not]
[/unit_filter]
# Units next to enemis should not have idle anims
[unit_filter]
[not]
[filter_adjacent]
is_enemy="yes"
[/filter_adjacent]
[/not]
[/unit_filter]
#enddef
#define FRAME_ON_SLOW CONTENTS