mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Remove now-unused dropammofactor variable from AWeaponGiver::TryPickup().
SVN r4248 (trunk)
This commit is contained in:
parent
63704a8b69
commit
a5b5172449
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue