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…
Add table
Add a link
Reference in a new issue