*Gasp sound is not played

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
User avatar
Lars
Posts: 47
Joined: Fri Dec 17, 2004 12:46 pm
Location: Denmark

*Gasp sound is not played

Post by Lars »

The *gasp sound is supposed to be played when the player surfaces after taking drowning damage, but instead no sound is played.
Attachments
DrownYourSelf.wad
(139.11 KiB) Downloaded 55 times
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: *Gasp sound is not played

Post by Blue Shadow »

ResetAirSupply(), here (and also here), needs its sole parameter to be set to true in order for the player to play that sound.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: *Gasp sound is not played

Post by _mental_ »

The default value of playgasp argument changed during scriptification. Graf, was it intentional?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: *Gasp sound is not played

Post by Graf Zahl »

No, that wasn't intended.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: *Gasp sound is not played

Post by _mental_ »

OK, should we change the default back to initial value? Or should we keep it set to false and change two mentioned calls? The first solution is better I think.
Kotti
Posts: 86
Joined: Tue Dec 27, 2016 4:08 am

Re: *Gasp sound is not played

Post by Kotti »

I don't think the current default should be kept. It just sounds wrong.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: *Gasp sound is not played

Post by Graf Zahl »

Bugs should be fixed, not worked around. Especially in cases like this one where the likelihood of someone inadvertently exploiting it is very low.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: *Gasp sound is not played

Post by _mental_ »

Fixed in c8eefd8.
Post Reply

Return to “Closed Bugs [GZDoom]”