mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 05:40:44 +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);
|
useok = Super::TryPickup (toucher);
|
||||||
}
|
}
|
||||||
|
else if (useok || ItemFlags & IF_ALWAYSPICKUP)
|
||||||
|
{
|
||||||
|
GoAwayAndDie();
|
||||||
|
}
|
||||||
return useok;
|
return useok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue