new key combinations:

- SHIFT + K: switch to and from riflesling
- SHIFT + K + ALT: switch to knife, or from knife to gun
- SHIFT + K + CTRL: switch to sidearm, or from sidearm to non-sidearm gun
the switches will search for a valid spot for the replaced hand items, thus a LAW won't go into a holster etc.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5900 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-03-06 00:36:57 +00:00
parent ce0a49e4b4
commit 30a7e22a3d
3 changed files with 202 additions and 47 deletions
+3
View File
@@ -1535,6 +1535,9 @@ public:
BOOLEAN UpdateMultiTurnAction();
void DropSectorEquipment();
// Flugente: switch hand item for gunsling weapon, or pistol, or knife
void SwitchWeapons( BOOLEAN fKnife = FALSE, BOOLEAN fSideArm = FALSE );
//////////////////////////////////////////////////////////////////////////////
}; // SOLDIERTYPE;