- fixed: AActor::Howl checked HowlSound for the wrong type.

This commit is contained in:
Christoph Oelckers 2017-03-02 18:40:01 +01:00
parent 8253b91d97
commit 1761da6079

View file

@ -3508,7 +3508,7 @@ int AActor::GetMissileDamage (int mask, int add)
void AActor::Howl () void AActor::Howl ()
{ {
FSoundID howl = IntVar(NAME_HowlSound); FSoundID howl = SoundVar(NAME_HowlSound);
if (!S_IsActorPlayingSomething(this, CHAN_BODY, howl)) if (!S_IsActorPlayingSomething(this, CHAN_BODY, howl))
{ {
S_Sound (this, CHAN_BODY, howl, 1, ATTN_NORM); S_Sound (this, CHAN_BODY, howl, 1, ATTN_NORM);