diff --git a/Strategic/mapscreen.cpp b/Strategic/mapscreen.cpp index 39b68a3b..1ae2330f 100644 --- a/Strategic/mapscreen.cpp +++ b/Strategic/mapscreen.cpp @@ -11960,11 +11960,15 @@ BOOLEAN CheckIfClickOnLastSectorInPath( INT16 sX, INT16 sY ) // check if helicopter if( fPlotForHelicopter == TRUE ) { + // helicopter route confirmed if( sX + ( sY * MAP_WORLD_X ) == GetLastSectorOfHelicoptersPath( ) ) { - // helicopter route confirmed - take off - TakeOffHelicopter( ); - + // if confirm moving to another sector + if( ( CheckForClickOverHelicopterIcon( sX, sY ) == FALSE ) ) + { + // take off + TakeOffHelicopter( ); + } // rebuild waypoints - helicopter ppMovePath = &( pVehicleList[ iHelicopterVehicleId ].pMercPath ); RebuildWayPointsForGroupPath( *ppMovePath, pVehicleList[ iHelicopterVehicleId ].ubMovementGroup );