mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Merged from revision: 7359
Fixes (by Buggler) - new error message when launching game in fullscreen beyond desktop resolution - fixed cycling previous item hotkey in cheat mode - refactored main menu button and hotkey code git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7360 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4302,6 +4302,7 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
{
|
||||
if ( CHEATER_CHEAT_LEVEL( ) )
|
||||
{
|
||||
// cycle item forward in primary hand
|
||||
if ( InItemDescriptionBox( ) )
|
||||
{
|
||||
// Swap item in description panel...
|
||||
@@ -4329,6 +4330,23 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
break;
|
||||
|
||||
case 'W':
|
||||
if( fAlt )
|
||||
{
|
||||
if ( CHEATER_CHEAT_LEVEL( ) )
|
||||
{
|
||||
// cycle item backward in primary hand
|
||||
if ( InItemDescriptionBox( ) )
|
||||
{
|
||||
// Swap item in description panel...
|
||||
CycleItemDescriptionItem( ITEMDESC_START_X, ITEMDESC_START_Y);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
CycleSelectedMercsItem();
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'x':
|
||||
|
||||
Reference in New Issue
Block a user