- Fixed: The damage factor for 'normal' damage is supposed to be applied to
all damage types that don't have a specific damage factor. SVN r1388 (trunk)
This commit is contained in:
parent
07a2da40f1
commit
c11f1a7fdc
2 changed files with 5 additions and 0 deletions
|
|
@ -957,6 +957,7 @@ void P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage
|
|||
if (df != NULL)
|
||||
{
|
||||
fixed_t * pdf = df->CheckKey(mod);
|
||||
if (pdf== NULL && mod != NAME_None) pdf = df->CheckKey(NAME_None);
|
||||
if (pdf != NULL)
|
||||
{
|
||||
damage = FixedMul(damage, *pdf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue