mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 03:21:28 +00:00
Fixed wrong pointer being used in PlayerFinishLevel, causing wrong inventory items to be destroyed.
This commit is contained in:
parent
5d38e4c476
commit
44623daafe
1 changed files with 1 additions and 1 deletions
|
@ -2111,7 +2111,7 @@ class PlayerPawn : Actor
|
|||
let it = toDelete[i];
|
||||
if (!it.bDestroyed)
|
||||
{
|
||||
item.DepleteOrDestroy();
|
||||
it.DepleteOrDestroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue