- added a 'DefaultStateUsage' property so that this setting can be properly set up for the classes that can inject states into other actors.

This commit is contained in:
Christoph Oelckers 2016-11-14 18:31:12 +01:00
commit 384f4fe7ce
6 changed files with 49 additions and 28 deletions

View file

@ -533,6 +533,15 @@ DEFINE_PROPERTY(skip_super, 0, Actor)
ResetBaggage (&bag, RUNTIME_CLASS(AActor));
}
//==========================================================================
// for internal use only - please do not document!
//==========================================================================
DEFINE_PROPERTY(defaultstateusage, I, Actor)
{
PROP_INT_PARM(use, 0);
static_cast<PClassActor*>(bag.Info)->DefaultStateUsage = use;
}
//==========================================================================
//
//==========================================================================