Fix Dual Explodium guns being erroneously available with sv_infiniteammo.
This commit is contained in:
parent
8f0fa8f0e6
commit
c81f1ff1cf
2 changed files with 3 additions and 5 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r499 \cu(Fri 21 May 10:56:24 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r499 \cu(2021-05-21 10:56:24)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r500 \cu(Sat 22 May 00:36:45 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r500 \cu(2021-05-22 00:36:45)\c-";
|
||||
|
|
|
|||
|
|
@ -668,9 +668,7 @@ Class DualExplodiumGun : SWWMWeapon
|
|||
|
||||
override bool CheckAmmo( int firemode, bool autoswitch, bool requireammo, int ammocount )
|
||||
{
|
||||
if ( (firemode == PrimaryFire) || (firemode == AltFire) )
|
||||
return (SisterWeapon&&(SisterWeapon.Amount > 1));
|
||||
return Super.CheckAmmo(firemode,autoswitch,requireammo,ammocount);
|
||||
return (SisterWeapon&&(SisterWeapon.Amount > 1));
|
||||
}
|
||||
|
||||
override bool ReportHUDAmmo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue