diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index c32d63e0e..213ef2113 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -4299,6 +4299,14 @@ void getinput(SW_PACKET *loc) SET(loc->bits, prev_weapon + 1); } + if (buttonMap.ButtonDown(gamefunc_Alt_Weapon_Mode)) + { + buttonMap.ClearButton(gamefunc_Alt_Weapon_Mode); + USERp u = User[pp->PlayerSprite]; + short const which_weapon = u->WeaponNum + 1; + SET(loc->bits, which_weapon); + } + inv_hotkey = 0; if (buttonMap.ButtonDown(gamefunc_Med_Kit)) inv_hotkey = INVENTORY_MEDKIT+1;