defitem != NULL -> defitem == NULL

This commit is contained in:
Randy Heit 2015-02-08 20:51:14 -06:00
parent fd7ed2bc25
commit 711ac77915
1 changed files with 1 additions and 1 deletions

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();
} }