summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-06-11 14:00:16 +0000
committermaedhros <maedhros@openttd.org>2007-06-11 14:00:16 +0000
commitc186f91cbd68a08494b8e2ab1dda4eccb4175982 (patch)
tree890b370c5bc0ffbb3bd5a9eb55a4b0a3117acd29 /src/vehicle_gui.h
parent4cd71ef4fe098486744d13643ea7cf77d938e5c8 (diff)
downloadopenttd-c186f91cbd68a08494b8e2ab1dda4eccb4175982.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/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index 1cf61073c..c6401c823 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -51,7 +51,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e);
int DrawVehiclePurchaseInfo(int x, int y, uint w, EngineID engine_number);
void DrawTrainImage(const Vehicle *v, int x, int y, int count, int skip, VehicleID selection);
-void DrawRoadVehImage(const Vehicle *v, int x, int y, VehicleID selection);
+void DrawRoadVehImage(const Vehicle *v, int x, int y, int count, VehicleID selection);
void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection);
void DrawAircraftImage(const Vehicle *v, int x, int y, VehicleID selection);
@@ -75,7 +75,7 @@ static inline void DrawVehicleImage(const Vehicle *v, int x, int y, int count, i
{
switch (v->type) {
case VEH_TRAIN: DrawTrainImage(v, x, y, count, skip, selection); break;
- case VEH_ROAD: DrawRoadVehImage(v, x, y, selection); break;
+ case VEH_ROAD: DrawRoadVehImage(v, x, y, count, selection); break;
case VEH_SHIP: DrawShipImage(v, x, y, selection); break;
case VEH_AIRCRAFT: DrawAircraftImage(v, x, y, selection); break;
default: NOT_REACHED();