mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Fixed: DoTakeInventory() indicated success when passed an invalid item type
This commit is contained in:
parent
3c8423d810
commit
d39694a33d
1 changed files with 1 additions and 1 deletions
|
@ -2112,7 +2112,7 @@ bool DoTakeInventory(AActor *receiver, bool orresult, VM_ARGS)
|
|||
|
||||
if (itemtype == NULL)
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
if (!orresult)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue