- some cleanup on the weapon slot interface.
This really shouldn't make any decisions from directly reading weapon class defaults.
This commit is contained in:
parent
f218e95c4d
commit
8fa16b6c30
5 changed files with 33 additions and 27 deletions
|
|
@ -3095,7 +3095,7 @@ void FinishDehPatch ()
|
|||
}
|
||||
else
|
||||
{
|
||||
weap->WeaponFlags |= WIF_DEHAMMO;
|
||||
weap->bDehAmmo = true;
|
||||
weap->AmmoUse1 = 0;
|
||||
// to allow proper checks in CheckAmmo we have to find the first attack pointer in the Fire sequence
|
||||
// and set its default ammo use as the weapon's AmmoUse1.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue