Fixed unset inflictor in WorldThingDamaged event

https://forum.zdoom.org/viewtopic.php?t=57527
This commit is contained in:
alexey.lysiuk 2017-08-09 16:16:33 +03:00
parent cdf79f0041
commit ef9c3b4f54
1 changed files with 1 additions and 0 deletions

View File

@ -762,6 +762,7 @@ void DStaticEventHandler::WorldThingDamaged(AActor* actor, AActor* inflictor, AA
return;
FWorldEvent e = E_SetupWorldEvent();
e.Thing = actor;
e.Inflictor = inflictor;
e.Damage = damage;
e.DamageSource = source;
e.DamageType = mod;