mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
defitem != NULL -> defitem == NULL
This commit is contained in:
parent
fd7ed2bc25
commit
711ac77915
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue