Redo ACTION_RETURN macros so they can be treated like return statements
This commit is contained in:
parent
81314a6cd6
commit
5e298173f7
2 changed files with 2 additions and 4 deletions
|
|
@ -1969,8 +1969,6 @@ static bool DoGiveInventory(AActor *receiver, bool orresult, VM_ARGS)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool res = true;
|
||||
|
||||
if (amount <= 0)
|
||||
{
|
||||
amount = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue