summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 844977d12..49a5a0a75 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1002,7 +1002,7 @@ void VehicleEnterDepot(Vehicle *v)
UpdateSignalsOnSegment(t->tile, INVALID_DIAGDIR, t->owner);
t->wait_counter = 0;
ClrBit(t->flags, VRF_TOGGLE_REVERSE);
- TrainConsistChanged(t, true);
+ t->ConsistChanged(true);
break;
}