defitem != NULL -> defitem == NULL

This commit is contained in:
Randy Heit 2015-02-08 20:51:14 -06:00
parent fd7ed2bc25
commit 711ac77915

View file

@ -1012,7 +1012,7 @@ void APlayerPawn::FilterCoopRespawnInventory (APlayerPawn *oldplayer)
else if ((dmflags & DF_COOP_LOSE_ARMOR) && else if ((dmflags & DF_COOP_LOSE_ARMOR) &&
item->IsKindOf(RUNTIME_CLASS(AArmor))) item->IsKindOf(RUNTIME_CLASS(AArmor)))
{ {
if (defitem != NULL) if (defitem == NULL)
{ {
item->Destroy(); item->Destroy();
} }