1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes

This commit is contained in:
yexo
2010-01-28 22:06:13 +00:00
parent da3ff51759
commit b689e3d6e4

View File

@@ -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);