diff options
author | rubidium <rubidium@openttd.org> | 2009-07-18 10:39:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-18 10:39:52 +0000 |
commit | 2b374824dcd55fef5cf6afe727f1ab914b19a1d2 (patch) | |
tree | 61c9e78a765c3288870adc8d800df233373180c3 /src/rail_gui.cpp | |
parent | 861a2163f615fef311ea0ee6c7c4abeb1e2e65c0 (diff) | |
download | openttd-2b374824dcd55fef5cf6afe727f1ab914b19a1d2.tar.xz |
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 997452bed..e2fb10776 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -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) && |