- fixed: A_ProgrammerMelee damaged the caller, not the target.

This commit is contained in:
Christoph Oelckers 2017-03-02 13:09:25 +01:00
parent 26f7902c3f
commit 62dd810a4e
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Programmer : Actor
A_PlaySound("programmer/clank", CHAN_WEAPON);
int damage = ((random[Programmer]() % 10) + 1) * 6;
int newdam = DamageMobj (self, self, damage, 'Melee');
int newdam = target.DamageMobj (self, self, damage, 'Melee');
target.TraceBleed (newdam > 0 ? newdam : damage, self);
}