Codechange: Rename "non-stop" and "go via" order flags for clarity (#15398)

This commit is contained in:
Tyler Trahan
2026-03-24 08:52:50 -04:00
committed by GitHub
parent d9c35037d4
commit fc3b81a313
12 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ CommandCost CmdChangeTimetable(DoCommandFlags flags, VehicleID veh, VehicleOrder
if (wait_time != order->GetWaitTime()) {
switch (order->GetType()) {
case OT_GOTO_STATION:
if (order->GetNonStopType().Test(OrderNonStopFlag::NoDestination)) return CommandCost(STR_ERROR_TIMETABLE_NOT_STOPPING_HERE);
if (order->GetNonStopType().Test(OrderNonStopFlag::GoVia)) return CommandCost(STR_ERROR_TIMETABLE_NOT_STOPPING_HERE);
break;
case OT_CONDITIONAL: