[Aug 1 Build] WorldThingDamaged Inflictor always null

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
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

[Aug 1 Build] WorldThingDamaged Inflictor always null

Post by Tapwave »

1. Load this.
2. IDFA.
3. Shoot any shootable actor with any gun, both hitscan and projectile.
4. Every time you do so, "Inflictor Unknown" should be logged to the console.

This shouldn't happen when using projectiles such as Rocket and PlasmaBall, damage dealt via BFG tracer is understandable, but damage dealt via BFGBall should have it as Inflictor.
User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

Re: [Aug 1 Build] WorldThingDamaged Inflictor always null

Post by Fishytza »

Can confirm on my end. Tested with GZD 3.1.0 and g3.2pre-400-g33beca6

Everything seems to work except e.Inflictor
Spoiler: Basic example
User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

Re: [Aug 1 Build] WorldThingDamaged Inflictor always null

Post by Fishytza »

I believe I found the culprit. https://github.com/coelckers/gzdoom/blo ... s.cpp#L756

Notice that e.Inflictor is missing.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [Aug 1 Build] WorldThingDamaged Inflictor always null

Post by _mental_ »

Fixed in ef9c3b4.
Post Reply

Return to “Closed Bugs [GZDoom]”