mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- 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
|
@ -1,3 +1,7 @@
|
|||
February 2, 2009 (Changes by Graf Zahl)
|
||||
- Fixed: The damage factor for 'normal' damage is supposed to be applied to
|
||||
all damage types that don't have a specific damage factor.
|
||||
|
||||
January 31, 2009
|
||||
- Changed FMOD init() to allocate some virtual channels.
|
||||
- Fixed clipping in D3DFB::DrawTextureV() for good by using a scissor test.
|
||||
|
|
|
@ -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…
Reference in a new issue