mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New feature: When more than one merc is selected, they will keep their current formation. This behaviour can be toggled via [CTRL] + [Shift]+ [g].
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6413 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3296,7 +3296,21 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
|
||||
|
||||
case 'G':
|
||||
if ( gGameSettings.fOptions[TOPTION_GL_BURST_CURSOR] )
|
||||
if( fCtrl )
|
||||
{
|
||||
// Flugente: toggle formation
|
||||
if ( gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS] )
|
||||
{
|
||||
gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS] = FALSE;
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, pMessageStrings[ MSG_FORMATIONS_OFF ] );
|
||||
}
|
||||
else
|
||||
{
|
||||
gGameSettings.fOptions[TOPTION_MERCENARY_FORMATIONS] = TRUE;
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, pMessageStrings[ MSG_FORMATIONS_ON ] );
|
||||
}
|
||||
}
|
||||
else if ( gGameSettings.fOptions[TOPTION_GL_BURST_CURSOR] )
|
||||
{
|
||||
gGameSettings.fOptions[TOPTION_GL_BURST_CURSOR] = FALSE;
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, pMessageStrings[ MSG_GL_BURST_CURSOR_OFF ] );
|
||||
|
||||
Reference in New Issue
Block a user