If USE_AIMED_BURST and AIMED_BURST_ALTERNATE_KEY are TRUE, then [Alt] + [t] over a target will toggle aiming. This is for people who have no working mousewheel and thus couldn't aim with auto-only weapons.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6555 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-11-04 18:25:31 +00:00
parent b91bc7b209
commit d3f5d3d9b0
3 changed files with 16 additions and 4 deletions
+11 -1
View File
@@ -4296,7 +4296,17 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
if( fAlt )
{
if ( CHEATER_CHEAT_LEVEL( ) )
// Flugente: alternate for people without mousewheel who want to aim auto-only weapons
if ( gGameExternalOptions.bAimedBurstEnabled && gGameExternalOptions.bAimedBurstAlternateKey && gCurrentUIMode == CONFIRM_ACTION_MODE )
{
SOLDIERTYPE * pSoldier;
if ( GetSoldier( &pSoldier, gusSelectedSoldier ) )
{
HandleRightClickAdjustCursor( pSoldier, usMapPos );
}
}
else if ( CHEATER_CHEAT_LEVEL( ) )
{
TeleportSelectedSoldier();
}