(svn r4415) Fix bug introduced in r4384 where drawing a default waypoint for the GUI

caused a game crash. This only manifested with some newstations loaded. 
Thanks to Richk67 for finding this.
replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent 1a1148c247
commit 4118b66322

@ -1407,7 +1407,7 @@ void DrawTrainDepotSprite(int x, int y, int image, RailType railtype)
void DrawDefaultWaypointSprite(int x, int y, RailType railtype)
{
const DrawTrackSeqStruct *dtss = _track_depot_layout_table[4];
const DrawTrackSeqStruct *dtss = _track_waypoint_layout_table[0];
const RailtypeInfo *rti = GetRailTypeInfo(railtype);
uint32 img;

Loading…
Cancel
Save