- no need to keep AArmor native, now that all child classes have been scriptified.

This commit is contained in:
Christoph Oelckers 2017-01-18 23:46:19 +01:00
commit 8256f25a84
15 changed files with 4 additions and 83 deletions

View file

@ -59,7 +59,6 @@
#include "a_morph.h"
#include "p_spec.h"
#include "virtual.h"
#include "a_armor.h"
#include "g_levellocals.h"
static FRandom pr_skullpop ("SkullPop");
@ -1142,7 +1141,7 @@ void APlayerPawn::FilterCoopRespawnInventory (APlayerPawn *oldplayer)
item->Destroy();
}
else if ((dmflags & DF_COOP_LOSE_ARMOR) &&
item->IsKindOf(RUNTIME_CLASS(AArmor)))
item->IsKindOf(PClass::FindActor(NAME_Armor)))
{
if (defitem == NULL)
{