summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r--src/train_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 77425cedb..2cc9a5d0a 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -4098,7 +4098,6 @@ static bool HandleCrashedTrain(Train *v)
if (state >= 4440 && !(v->tick_counter & 0x1F)) {
bool ret = v->Next() != NULL;
DeleteLastWagon(v);
- SetWindowDirty(WC_REPLACE_VEHICLE, (v->group_id << 16) | VEH_TRAIN);
return ret;
}