mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- 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:
+13
-10
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user