- Changed the rocket so that the FX_ROCKET flag is set in the actor

definition and not in BeginPlay.
- Changed the special explosion behavior of the rocket to a flag
  (MF5_DEHEXPLOSION) so that its effects can be used on other actors
  as well without having to inherit from the rocket.


SVN r353 (trunk)
This commit is contained in:
Christoph Oelckers 2006-10-15 20:27:16 +00:00
commit 39d2ef0460
9 changed files with 16 additions and 8 deletions

View file

@ -1078,7 +1078,7 @@ void P_ExplodeMissile (AActor *mo, line_t *line)
if (mo->DeathState != NULL)
{
// [RH] Change render style of exploding rockets
if (mo->IsKindOf (RUNTIME_CLASS(ARocket)))
if (mo->flags5 & MF5_DEHEXPLOSION)
{
if (deh.ExplosionStyle == 255)
{