- Remove now-unused dropammofactor variable from AWeaponGiver::TryPickup().

SVN r4248 (trunk)
This commit is contained in:
Randy Heit 2013-05-04 19:24:24 +00:00
parent 63704a8b69
commit a5b5172449
1 changed files with 0 additions and 1 deletions

View File

@ -731,7 +731,6 @@ bool AWeaponGiver::TryPickup(AActor *&toucher)
master = weap = static_cast<AWeapon*>(Spawn(di->Name, 0, 0, 0, NO_REPLACE));
if (weap != NULL)
{
fixed_t dropammofactor;
weap->ItemFlags &= ~IF_ALWAYSPICKUP; // use the flag of this item only.
weap->flags = (weap->flags & ~MF_DROPPED) | (this->flags & MF_DROPPED);