mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
Merge branch 'PSprites'
This commit is contained in:
commit
7ccdbf9b62
28 changed files with 1020 additions and 520 deletions
|
@ -997,12 +997,10 @@ void AActor::ClearInventory()
|
|||
invp = &inv->Inventory;
|
||||
}
|
||||
}
|
||||
if (player != NULL)
|
||||
if (player != nullptr)
|
||||
{
|
||||
player->ReadyWeapon = NULL;
|
||||
player->ReadyWeapon = nullptr;
|
||||
player->PendingWeapon = WP_NOCHANGE;
|
||||
player->psprites[ps_weapon].state = NULL;
|
||||
player->psprites[ps_flash].state = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue