- 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
|
|
@ -230,6 +230,7 @@ static void ApplyActorDefault (int defnum, const char *datastr, int dataint)
|
|||
case ADEF_BounceFactor: actor->bouncefactor = dataint; break;
|
||||
case ADEF_BounceCount: actor->bouncecount = dataint; break;
|
||||
case ADEF_RDFactor: sgClass->Meta.SetMetaFixed (AMETA_RDFactor, dataint); break;
|
||||
case ADEF_FXFlags: actor->effects = dataint; break;
|
||||
|
||||
case ADEF_SpawnState: actor->SpawnState = datastate; break;
|
||||
case ADEF_SeeState: actor->SeeState = datastate; break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue