Chaos Device laughter ignores player class

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
argv
Posts: 184
Joined: Tue Aug 30, 2016 4:47 pm

Chaos Device laughter ignores player class

Post by argv »

The ArtiTeleport class uses A_PlaySound to play the sound of Corvus laughing. Problem: even if the artifact is used by a PlayerPawn whose SoundClass isn't “player”, and there is some other applicable playersound for “*evillaugh”, it won't get played; Corvus' laughter is still used.

The offending call is on wadsrc/static/zscript/raven/artitele.txt line 52.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Chaos Device laughter ignores player class

Post by _mental_ »

Post a runnable sample please.
argv
Posts: 184
Joined: Tue Aug 30, 2016 4:47 pm

Re: Chaos Device laughter ignores player class

Post by argv »

Okay. The attached pk3 adds a player class “Test” that changes two sounds: you get the laughter for *usefail (try to push a wall but fail), and a grunt for *evillaugh (use a Chaos Device). The former works, but the latter doesn't.
Attachments
laughbugdemo.pk3
(623 Bytes) Downloaded 28 times
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Chaos Device laughter ignores player class

Post by _mental_ »

It was that call indeed. Fixed in 79bdfe4.
Post Reply

Return to “Closed Bugs [GZDoom]”