MobjDamage hook doesn't expose damageType if no objectType is given

Status
Not open for further replies.

Latius

Hybrid Kart Mapper/Porter
Simply put, I was coding in some stuff which requires the damageType stuff, but which could apply to multiple enemies, bosses or even players... And after some testing, I noticed the damageType was always being sent as a nil value. So I checked the source code, and... I noticed that the damageType isn't exposed if it's a general hook.
 
This issue was addressed a week ago by Monster Iestyn.
Here's the relevant commit.

286yhIs.png
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top