mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +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) &&
|
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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue