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
|
|
@ -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