Fixed SOUND:SLOW and SOUND:POISON animation sound macros,

...also suffering from the same behavior described in bug #19274

This makes e.g. the Elvish Shaman's slowing attack hit sound trigger at
the correct time (frame zero).

SOUND:HIT_AND_MISS needs to be fixed more carefully; at least one unit
(Highwayman) relies on the current, broken behavior.
This commit is contained in:
Ignacio R. Morelle 2012-01-24 01:25:17 +00:00
parent 280203fb85
commit e1299030db

View file

@ -503,8 +503,10 @@ zombie-hit-1.ogg,zombie-hit-2.ogg,zombie-hit-3.ogg,zombie-hit-4.ogg,zombie-hit-5
[/not]
[/filter_second]
slowed_sound_start_time=-100
slowed_sound_start_time=-101
[slowed_sound_frame]
duration=1
[/slowed_sound_frame]
[slowed_sound_frame]
duration=100
sound=slowed.wav
@ -527,8 +529,10 @@ zombie-hit-1.ogg,zombie-hit-2.ogg,zombie-hit-3.ogg,zombie-hit-4.ogg,zombie-hit-5
[/not]
[/filter_second]
poisoned_sound_start_time=-100
poisoned_sound_start_time=-101
[poisoned_sound_frame]
duration=1
[/poisoned_sound_frame]
[poisoned_sound_frame]
duration=100
sound=poison.ogg