Merge branch 'save_ext' into tracerestrict-sx
# Conflicts: # src/vehiclelist.cpp
This commit is contained in:
@@ -2516,6 +2516,7 @@ public:
|
||||
case OT_GOTO_DEPOT:
|
||||
/* Skip service in depot orders when the train doesn't need service. */
|
||||
if ((order->GetDepotOrderType() & ODTFB_SERVICE) && !this->v->NeedsServicing()) break;
|
||||
FALLTHROUGH;
|
||||
case OT_GOTO_STATION:
|
||||
case OT_GOTO_WAYPOINT:
|
||||
this->v->current_order = *order;
|
||||
@@ -3749,7 +3750,7 @@ static bool TrainApproachingLineEnd(Train *v, bool signal, bool reverse)
|
||||
* for other directions, it will be 1, 3, 5, ..., 15 */
|
||||
switch (v->direction) {
|
||||
case DIR_N : x = ~x + ~y + 25; break;
|
||||
case DIR_NW: x = y; // FALL THROUGH
|
||||
case DIR_NW: x = y; FALLTHROUGH;
|
||||
case DIR_NE: x = ~x + 16; break;
|
||||
case DIR_E : x = ~x + y + 9; break;
|
||||
case DIR_SE: x = y; break;
|
||||
|
Reference in New Issue
Block a user