Make some waypoint types undraggable.

None of these (takeoff, landing, divert, bullseye, precise target
locations) can be usefully moved, so prevent it.
This commit is contained in:
Dan Albert
2021-05-24 16:45:21 -07:00
parent e8f326ebce
commit b7b3b35816
3 changed files with 46 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ class FlightWaypointType(Enum):
LANDING_POINT = 11 # Should land there
TARGET_POINT = 12 # A target building or static object, position
TARGET_GROUP_LOC = 13 # A target group approximate location
TARGET_SHIP = 14 # A target ship known location
TARGET_SHIP = 14 # Unused.
CUSTOM = 15 # User waypoint (no specific behaviour)
JOIN = 16
SPLIT = 17