mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 08:41:59 +00:00
Forgot to save a_pickups.cpp before committing revision 21.
SVN r23 (trunk)
This commit is contained in:
parent
810ebcb31d
commit
0031c7f651
1 changed files with 4 additions and 0 deletions
|
@ -1240,6 +1240,10 @@ bool ACustomInventory::TryPickup (AActor *toucher)
|
|||
{
|
||||
useok = Super::TryPickup (toucher);
|
||||
}
|
||||
else if (useok || ItemFlags & IF_ALWAYSPICKUP)
|
||||
{
|
||||
GoAwayAndDie();
|
||||
}
|
||||
return useok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue