mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- fixed damage amount in the runlist dispatcher.
This commit is contained in:
parent
f1b40b7878
commit
7e191fb29b
1 changed files with 2 additions and 2 deletions
|
@ -1713,7 +1713,7 @@ void runlist_RadialDamageEnemy(DExhumedActor* pActor, short nDamage, short nRadi
|
|||
|
||||
if (pRadialActor == nullptr)
|
||||
{
|
||||
nRadialDamage = nDamage * 4;
|
||||
nRadialDamage = nDamage;
|
||||
nDamageRadius = nRadius;
|
||||
pRadialActor = pActor;
|
||||
|
||||
|
@ -1740,7 +1740,7 @@ void runlist_DamageEnemy(DExhumedActor* pActor, DExhumedActor* pActor2, short nD
|
|||
|
||||
RunListEvent ev{};
|
||||
ev.pOtherActor = pActor2;
|
||||
ev.nDamage = nDamage;
|
||||
ev.nDamage = nDamage * 4;
|
||||
runlist_SendMessage(nRun, -1, &ExhumedAI::Damage, &ev);
|
||||
|
||||
// is there now one less creature? (has one died)
|
||||
|
|
Loading…
Reference in a new issue