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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user