(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing

This commit is contained in:
rubidium
2009-07-18 10:39:52 +00:00
parent 861a2163f6
commit 2b374824dc
3 changed files with 7 additions and 10 deletions

View File

@@ -1814,7 +1814,7 @@ struct BuildRailWaypointWindow : PickerWindowBase {
if (this->hscroll.pos + i < this->hscroll.count) {
const StationSpec *statspec = GetCustomStationSpec(STAT_CLASS_WAYP, this->hscroll.pos + i);
DrawWaypointSprite(2 + i * 68, 25, this->hscroll.pos + i, _cur_railtype);
DrawWaypointSprite(this->widget[BRWW_WAYPOINT_1 + i].left + TILE_PIXELS, this->widget[BRWW_WAYPOINT_1 + i].bottom - TILE_PIXELS, this->hscroll.pos + i, _cur_railtype);
if (statspec != NULL &&
HasBit(statspec->callbackmask, CBM_STATION_AVAIL) &&