mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
- 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:
@@ -987,6 +987,10 @@ void ToggleAirspaceMode( void )
|
|||||||
{
|
{
|
||||||
AbortMovementPlottingMode( );
|
AbortMovementPlottingMode( );
|
||||||
}
|
}
|
||||||
|
else if ( gfInChangeArrivalSectorMode )
|
||||||
|
{
|
||||||
|
CancelChangeArrivalSectorMode( );
|
||||||
|
}
|
||||||
|
|
||||||
// dirty regions
|
// dirty regions
|
||||||
fMapPanelDirty = TRUE;
|
fMapPanelDirty = TRUE;
|
||||||
@@ -1621,6 +1625,10 @@ void TurnOnItemFilterMode( void )
|
|||||||
{
|
{
|
||||||
AbortMovementPlottingMode( );
|
AbortMovementPlottingMode( );
|
||||||
}
|
}
|
||||||
|
else if ( gfInChangeArrivalSectorMode )
|
||||||
|
{
|
||||||
|
CancelChangeArrivalSectorMode( );
|
||||||
|
}
|
||||||
|
|
||||||
// dirty regions
|
// dirty regions
|
||||||
fMapPanelDirty = TRUE;
|
fMapPanelDirty = TRUE;
|
||||||
@@ -1672,6 +1680,10 @@ void TurnOnMobileFilterMode( void )
|
|||||||
{
|
{
|
||||||
AbortMovementPlottingMode( );
|
AbortMovementPlottingMode( );
|
||||||
}
|
}
|
||||||
|
else if ( gfInChangeArrivalSectorMode )
|
||||||
|
{
|
||||||
|
CancelChangeArrivalSectorMode( );
|
||||||
|
}
|
||||||
|
|
||||||
STR16 pwString = NULL;
|
STR16 pwString = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -8107,6 +8107,15 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent )
|
|||||||
// if not already in sector inventory
|
// if not already in sector inventory
|
||||||
if ( !fShowMapInventoryPool )
|
if ( !fShowMapInventoryPool )
|
||||||
{
|
{
|
||||||
|
if( ( bSelectedDestChar != -1 ) || ( fPlotForHelicopter == TRUE ) )
|
||||||
|
{
|
||||||
|
AbortMovementPlottingMode( );
|
||||||
|
}
|
||||||
|
else if ( gfInChangeArrivalSectorMode )
|
||||||
|
{
|
||||||
|
CancelChangeArrivalSectorMode( );
|
||||||
|
}
|
||||||
|
|
||||||
// show sector inventory for selected sector
|
// show sector inventory for selected sector
|
||||||
ChangeSelectedMapSector( sSelMapX, sSelMapY, ( INT8 ) iCurrentMapSectorZ );
|
ChangeSelectedMapSector( sSelMapX, sSelMapY, ( INT8 ) iCurrentMapSectorZ );
|
||||||
|
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ void CancelPathsOfAllSelectedCharacters();
|
|||||||
INT32 GetPathTravelTimeDuringPlotting( PathStPtr pPath );
|
INT32 GetPathTravelTimeDuringPlotting( PathStPtr pPath );
|
||||||
|
|
||||||
void AbortMovementPlottingMode( void );
|
void AbortMovementPlottingMode( void );
|
||||||
|
void CancelChangeArrivalSectorMode( void );
|
||||||
|
|
||||||
void ExplainWhySkyriderCantFly( void );
|
void ExplainWhySkyriderCantFly( void );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user