From b689e3d6e43f5e5d90d0c2c93059cce5d48459ae Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 28 Jan 2010 22:06:13 +0000 Subject: [PATCH] (svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes --- src/train_cmd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index f2c2e4d376..b3f4f98016 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3122,6 +3122,9 @@ uint Train::Crash(bool flooded) * but must be updated after the train has been marked crashed */ TileIndex crossing = TrainApproachingCrossingTile(this); if (crossing != INVALID_TILE) UpdateLevelCrossing(crossing); + + /* Remove the loading indicators (if any) */ + HideFillingPercent(&this->fill_percent_te_id); } pass += Vehicle::Crash(flooded);