- 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
+12
View File
@@ -987,6 +987,10 @@ void ToggleAirspaceMode( void )
{
AbortMovementPlottingMode( );
}
else if ( gfInChangeArrivalSectorMode )
{
CancelChangeArrivalSectorMode( );
}
// dirty regions
fMapPanelDirty = TRUE;
@@ -1621,6 +1625,10 @@ void TurnOnItemFilterMode( void )
{
AbortMovementPlottingMode( );
}
else if ( gfInChangeArrivalSectorMode )
{
CancelChangeArrivalSectorMode( );
}
// dirty regions
fMapPanelDirty = TRUE;
@@ -1672,6 +1680,10 @@ void TurnOnMobileFilterMode( void )
{
AbortMovementPlottingMode( );
}
else if ( gfInChangeArrivalSectorMode )
{
CancelChangeArrivalSectorMode( );
}
STR16 pwString = NULL;
+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 );
+1
View File
@@ -84,6 +84,7 @@ void CancelPathsOfAllSelectedCharacters();
INT32 GetPathTravelTimeDuringPlotting( PathStPtr pPath );
void AbortMovementPlottingMode( void );
void CancelChangeArrivalSectorMode( void );
void ExplainWhySkyriderCantFly( void );