- Fixed mouse cursor issue when calling sector inventory using hotkey in MovementPlottingMode and ChangeArrivalSectorMode (by Buggler)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6678 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-12-03 15:25:10 +00:00
parent 135e576d27
commit 689cbbc5ab
3 changed files with 22 additions and 0 deletions
+9
View File
@@ -8107,6 +8107,15 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent )
// if not already in sector inventory
if ( !fShowMapInventoryPool )
{
if( ( bSelectedDestChar != -1 ) || ( fPlotForHelicopter == TRUE ) )
{
AbortMovementPlottingMode( );
}
else if ( gfInChangeArrivalSectorMode )
{
CancelChangeArrivalSectorMode( );
}
// show sector inventory for selected sector
ChangeSelectedMapSector( sSelMapX, sSelMapY, ( INT8 ) iCurrentMapSectorZ );