A_Blast strength parameter is unused?

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
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

A_Blast strength parameter is unused?

Post by Kinsie »

This came up while discussing some usage of this tonight.

In the BlastActor function that A_Blast calls (in zscript/hexen/blastradius.txt), the "strength" parameter seems to be ignored - It's passed to SpecialBlastHandling (in zscript/actor.txt), which simply returns true, and nothing else is done with it. Is there some weird old mod compat reason for this, or is it just something that's fallen through the cracks over time?
User avatar
Rip and Tear
Posts: 185
Joined: Tue May 02, 2017 3:54 pm

Re: A_Blast strength parameter is unused?

Post by Rip and Tear »

While the strength parameter is never used in any of GZDoom’s base classes, a mod could possibly utilize it in the SpecialBlastHandling virtual.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: A_Blast strength parameter is unused?

Post by Kinsie »

Cheers, updated the [wiki]A_Blast[/wiki] wiki page to note this.
Post Reply

Return to “Closed Bugs [GZDoom]”