- Converted the PhoenixRod and associated classes to DECORATE to make

the Heretic conversion complete.


SVN r1110 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-04 22:30:45 +00:00
commit d5cc9e01d0
15 changed files with 324 additions and 355 deletions

View file

@ -48,7 +48,6 @@
#include "b_bot.h" //Added by MC:
#include "a_doomglobal.h"
#include "a_hereticglobal.h"
#include "ravenshared.h"
#include "a_hexenglobal.h"
#include "a_sharedglobal.h"
@ -1151,7 +1150,7 @@ void P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage
{ // Check for flame death
if (!inflictor ||
((target->health > -50) && (damage > 25)) ||
!inflictor->IsKindOf (RUNTIME_CLASS(APhoenixFX1)))
!(inflictor->flags5 & MF5_SPECIALFIREDAMAGE))
{
target->DamageType = NAME_Fire;
}