mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- Fixed 'Subtotal' disappearing in BR when all items out of stock/not available yet (by Buggler)
- Added new shortcut 'u' which opens selected sector inventory screen when item filter is active in strategic screen (by Buggler) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4698 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+16
-17
@@ -7554,24 +7554,13 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent )
|
||||
{
|
||||
fDisableJustForIan = ! fDisableJustForIan;
|
||||
}
|
||||
else
|
||||
{
|
||||
// only handle border button keyboard equivalents if the button is visible!
|
||||
if ( !fShowMapInventoryPool )
|
||||
{
|
||||
ToggleItemsFilter();
|
||||
}
|
||||
}
|
||||
#else
|
||||
// only handle border button keyboard equivalents if the button is visible!
|
||||
if ( !fShowMapInventoryPool )
|
||||
{
|
||||
ToggleItemsFilter();
|
||||
}
|
||||
#endif
|
||||
|
||||
// only handle border button keyboard equivalents if the button is visible!
|
||||
if ( !fShowMapInventoryPool )
|
||||
{
|
||||
ToggleItemsFilter();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'K':
|
||||
//CHRISL: Swap gunsling
|
||||
if ( bSelectedInfoChar != -1 && fShowInventoryFlag && UsingNewInventorySystem() == true )
|
||||
@@ -7897,7 +7886,17 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent )
|
||||
}
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
// open selected sector inventory screen
|
||||
// if showing item counts on the map, and not already in sector inventory
|
||||
if ( fShowItemsFlag && !fShowMapInventoryPool )
|
||||
{
|
||||
// show sector inventory for selected sector
|
||||
ChangeSelectedMapSector( sSelMapX, sSelMapY, ( INT8 ) iCurrentMapSectorZ );
|
||||
|
||||
fShowMapInventoryPool = TRUE;
|
||||
CreateDestroyMapInventoryPoolButtons( TRUE );
|
||||
}
|
||||
break;
|
||||
case 'v':
|
||||
if( fCtrl )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user