More weapon selector work, should be good now.

This commit is contained in:
Mari the Deer 2023-07-05 17:38:51 +02:00
commit ebf394f568
3 changed files with 95 additions and 24 deletions

View file

@ -582,7 +582,9 @@ extend Class SWWMHandler
if ( !wsel && SWWMWeaponSelect.PlayerHasWeapons(players[consoleplayer].mo) )
{
wsel = new("SWWMWeaponSelect").Init(players[consoleplayer].mo);
StatusBar.AttachMessage(wsel,-2920);
StatusBar.AttachMessage(wsel,-2920,layer:StatusBar.HUDMSGLayer_UnderHUD);
if ( WeapSel == 1 ) wsel.WeapNext();
else if ( WeapSel == -1 ) wsel.WeapPrev();
}
return true;
}