- 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

@ -285,6 +285,7 @@ void PClassActor::DeriveData(PClass *newclass)
assert(newclass->IsKindOf(RUNTIME_CLASS(PClassActor)));
PClassActor *newa = static_cast<PClassActor *>(newclass);
newa->DefaultStateUsage = DefaultStateUsage;
newa->Obituary = Obituary;
newa->HitObituary = HitObituary;
newa->DeathHeight = DeathHeight;