Fix Spreadgun and Wallbuster not autoswitching on first pickup.
This commit is contained in:
parent
a544d7cdff
commit
f535873e0b
3 changed files with 4 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r481 \cu(Tue 20 Sep 11:27:54 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r481 \cu(2022-09-20 11:27:54)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r482 \cu(Tue 20 Sep 11:28:10 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r482 \cu(2022-09-20 11:28:10)\c-";
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ Class Wallbuster : SWWMWeapon
|
|||
{
|
||||
Super.DoEffect();
|
||||
// push back selection order if weapon is unloaded
|
||||
if ( !bInitialized ) return;
|
||||
for ( int i=0; i<25; i++ )
|
||||
{
|
||||
if ( !loaded[i] || fired[i] ) continue;
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ Class Spreadgun : SWWMWeapon
|
|||
{
|
||||
Super.DoEffect();
|
||||
// push back selection order if weapon is unloaded
|
||||
if ( !bInitialized ) return;
|
||||
SelectionOrder = (chambered&&!fired)?default.SelectionOrder:1500;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue