From 711ac7791594eca2b0d4699ce5567ebdc8beb487 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 8 Feb 2015 20:51:14 -0600 Subject: [PATCH] defitem != NULL -> defitem == NULL --- src/p_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.cpp b/src/p_user.cpp index e91766cf0f..4d05d26608 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -1012,7 +1012,7 @@ void APlayerPawn::FilterCoopRespawnInventory (APlayerPawn *oldplayer) else if ((dmflags & DF_COOP_LOSE_ARMOR) && item->IsKindOf(RUNTIME_CLASS(AArmor))) { - if (defitem != NULL) + if (defitem == NULL) { item->Destroy(); }