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 5bfce1171..5c5b50988 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1531,7 +1531,7 @@ void Vehicle::LeaveStation()
HideFillingPercent(&this->fill_percent_te_id);
- if (this->type == VEH_TRAIN) {
+ if (this->type == VEH_TRAIN && !(this->vehstatus & VS_CRASHED)) {
/* Trigger station animation (trains only) */
if (IsTileType(this->tile, MP_STATION)) StationAnimationTrigger(st, this->tile, STAT_ANIM_TRAIN_DEPARTS);