mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 13:23:46 +00:00
(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes
This commit is contained in:
parent
da3ff51759
commit
b689e3d6e4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user