mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Fixed unset inflictor in WorldThingDamaged event
https://forum.zdoom.org/viewtopic.php?t=57527
This commit is contained in:
parent
cdf79f0041
commit
ef9c3b4f54
1 changed files with 1 additions and 0 deletions
|
@ -762,6 +762,7 @@ void DStaticEventHandler::WorldThingDamaged(AActor* actor, AActor* inflictor, AA
|
||||||
return;
|
return;
|
||||||
FWorldEvent e = E_SetupWorldEvent();
|
FWorldEvent e = E_SetupWorldEvent();
|
||||||
e.Thing = actor;
|
e.Thing = actor;
|
||||||
|
e.Inflictor = inflictor;
|
||||||
e.Damage = damage;
|
e.Damage = damage;
|
||||||
e.DamageSource = source;
|
e.DamageSource = source;
|
||||||
e.DamageType = mod;
|
e.DamageType = mod;
|
||||||
|
|
Loading…
Reference in a new issue