summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-07-13 19:30:37 +0000
committerfrosch <frosch@openttd.org>2009-07-13 19:30:37 +0000
commit3973b1e7cb5d244374e517879ec9f9017c95446f (patch)
tree7769354c7c21a3e878c093d85b843194e54bb189 /src/vehicle_gui.h
parent3922860bb9e69281fdaaa48e2347c666728e18ee (diff)
downloadopenttd-3973b1e7cb5d244374e517879ec9f9017c95446f.tar.xz
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index 3371bd16c..45383341a 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -61,7 +61,7 @@ static inline bool ValidVLWFlags(uint16 flags)
int DrawVehiclePurchaseInfo(int left, int right, int y, EngineID engine_number);
-void DrawTrainImage(const Vehicle *v, int x, int y, VehicleID selection, int max_width, int skip);
+void DrawTrainImage(const Train *v, int x, int y, VehicleID selection, int max_width, int skip);
void DrawRoadVehImage(const Vehicle *v, int x, int y, VehicleID selection, int max_width);
void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection);
void DrawAircraftImage(const Vehicle *v, int x, int y, VehicleID selection);