Fixed: DoTakeInventory() indicated success when passed an invalid item type

This commit is contained in:
Randy Heit 2016-04-04 15:51:03 -05:00
parent 3c8423d810
commit d39694a33d

View file

@ -2112,7 +2112,7 @@ bool DoTakeInventory(AActor *receiver, bool orresult, VM_ARGS)
if (itemtype == NULL)
{
return true;
return false;
}
if (!orresult)
{