Changeset - r14374:97155e225051
[Not reviewed]
master
0 1 0
yexo - 14 years ago 2010-01-28 22:06:13
yexo@openttd.org
(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)