[>r2560]A_Explode(1,..) stopped doing pain to victims

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
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Edward-san »

See this zandronum ticket.

If you load exploderadius_02.wad, the monsters don't get any pain. It used to work in zdoom r2560 (or also in zdoom 2.5.0). Surely the damage code was changed a lot...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Graf Zahl »

Are you aware how much damage this attack causes? Precisely - zero! If that caused pain it may have abused a side effect of something, And guess what: There was a minor bug in P_RadiusAttack that let fractional damage slip through which got fixed between 2.5.0 and now. And if I remember correctly it got reported for the precise reason that it caused pain in situations where it shouldn't have.
User avatar
Major Cooke
Posts: 8205
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Major Cooke »

Also +CAUSEPAIN is now your solution.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Edward-san »

Hm, according to the bisecting, the 'problem' was introduced since r3523. Sounds strange, doesn't it?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Graf Zahl »

No, that makes perfect sense. But that particular piece of code doesn't exist anymore, so it cannot be the cause right now.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Edward-san »

Hm, indeed, because the other wad in the ticket (exploderadius.wad) worked fine with that version. I'll bisect again and let you know.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Edward-san »

Just one question: if the victim is not exactly at the center of the explosion by 'A_Explode(1,..)', then the damage is always truncated to 0, right?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [>r2560]A_Explode(1,..) stopped doing pain to victims

Post by Graf Zahl »

That's what I'd imagine.
Post Reply

Return to “Closed Bugs [GZDoom]”