Forgot to save a_pickups.cpp before committing revision 21.

SVN r23 (trunk)
This commit is contained in:
Randy Heit 2006-04-09 20:03:55 +00:00
parent 810ebcb31d
commit 0031c7f651

View file

@ -1240,6 +1240,10 @@ bool ACustomInventory::TryPickup (AActor *toucher)
{
useok = Super::TryPickup (toucher);
}
else if (useok || ItemFlags & IF_ALWAYSPICKUP)
{
GoAwayAndDie();
}
return useok;
}