- made CallTryPickup a global function.
This one still gets called in too many places but stands in the way of moving Inventory fully to the script side.
This commit is contained in:
parent
7b63e088e1
commit
3922f817fb
6 changed files with 8 additions and 8 deletions
|
|
@ -972,7 +972,7 @@ static void HandleReply(player_t *player, bool isconsole, int nodenum, int reply
|
|||
item->IntVar(NAME_AmmoGive1) = 40;
|
||||
}
|
||||
item->flags |= MF_DROPPED;
|
||||
if (!item->CallTryPickup(player->mo))
|
||||
if (!CallTryPickup(item, player->mo))
|
||||
{
|
||||
item->Destroy();
|
||||
takestuff = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue