- converted the rest of actors/shared.

- moved damagetype definitions to MAPINFO. These were in DECORATE which is not correct. The old code is left for compatibility.
This commit is contained in:
Christoph Oelckers 2016-10-14 10:46:15 +02:00
commit 9e2830a3db
44 changed files with 1042 additions and 794 deletions

View file

@ -433,6 +433,11 @@ FStateLabels *FStateDefinitions::CreateStateLabelList(TArray<FStateDefine> & sta
void FStateDefinitions::InstallStates(PClassActor *info, AActor *defaults)
{
if (defaults == nullptr)
{
I_Error("Called InstallStates without actor defaults in %s", info->TypeName.GetChars());
}
// First ensure we have a valid spawn state.
FState *state = FindState("Spawn");