diff options
author | maedhros <maedhros@openttd.org> | 2007-06-11 14:00:16 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-06-11 14:00:16 +0000 |
commit | 3e326085fa69da20e0a81182cbea4466016eb566 (patch) | |
tree | 890b370c5bc0ffbb3bd5a9eb55a4b0a3117acd29 /src/depot_gui.cpp | |
parent | be0f5cf877bb2d7a74855f8988e50ca09624aabe (diff) | |
download | openttd-3e326085fa69da20e0a81182cbea4466016eb566.tar.xz |
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 2d1cf1b41..59f97f4c8 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -184,7 +184,7 @@ static void DrawVehicleInDepot(Window *w, const Vehicle *v, int x, int y) DrawStringRightAligned(w->widget[DEPOT_WIDGET_MATRIX].right - 1, y + 4, STR_TINY_BLACK, 0); // Draw the counter break; - case VEH_ROAD: DrawRoadVehImage( v, x + 24, sprite_y, WP(w, depot_d).sel); break; + case VEH_ROAD: DrawRoadVehImage( v, x + 24, sprite_y, 1, WP(w, depot_d).sel); break; case VEH_SHIP: DrawShipImage( v, x + 19, sprite_y - 1, WP(w, depot_d).sel); break; case VEH_AIRCRAFT: { const Sprite *spr = GetSprite(GetAircraftImage(v, DIR_W)); |