- 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:
parent
92c3a89255
commit
39d2ef0460
9 changed files with 16 additions and 8 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue