mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-30 16:01:49 +00:00
- account for KEEPDEPLETED flag when destroying items with InterHubAmount of 0 upon leaving a level
This commit is contained in:
parent
8ef02544a7
commit
acd553aa6f
1 changed files with 1 additions and 1 deletions
|
@ -2023,7 +2023,7 @@ class PlayerPawn : Actor
|
|||
next = item.Inv;
|
||||
if (item.InterHubAmount < 1)
|
||||
{
|
||||
item.Destroy ();
|
||||
item.DepleteOrDestroy ();
|
||||
}
|
||||
item = next;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue