- Disabled Tab hotkey for description tab switching in strategic screen so as not to interfere with militia equipment assignment (use Ctrl+Tab like in tactical screen) (by Buggler)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5873 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-02-26 14:00:48 +00:00
parent 2cfe4bd7fc
commit b107a916e1
2 changed files with 23 additions and 42 deletions
+13 -10
View File
@@ -7092,17 +7092,20 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent )
case TAB:
// go to next tab in enhanced description box
if( InItemDescriptionBox( ) && gGameSettings.fOptions[ TOPTION_ENHANCED_DESC_BOX ] == TRUE )
{
if ( gubDescBoxPage < 2 )
{
gubDescBoxPage++;
if( fCtrl )
{
if( InItemDescriptionBox( ) && gGameSettings.fOptions[ TOPTION_ENHANCED_DESC_BOX ] == TRUE )
{
if ( gubDescBoxPage < 2 )
{
gubDescBoxPage++;
}
else
{
gubDescBoxPage = 0;
}
HandleItemDescTabButton( );
}
else
{
gubDescBoxPage = 0;
}
HandleItemDescTabButton( );
}
break;