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.
[Aug 1 Build] WorldThingDamaged Inflictor always null
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.
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.
Re: [Aug 1 Build] WorldThingDamaged Inflictor always null
Can confirm on my end. Tested with GZD 3.1.0 and g3.2pre-400-g33beca6
Everything seems to work except e.Inflictor
Everything seems to work except e.Inflictor
Spoiler: Basic example
Re: [Aug 1 Build] WorldThingDamaged Inflictor always null
I believe I found the culprit. https://github.com/coelckers/gzdoom/blo ... s.cpp#L756
Notice that e.Inflictor is missing.
Notice that e.Inflictor is missing.