diff options
author | tron <tron@openttd.org> | 2006-07-26 08:41:14 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-07-26 08:41:14 +0000 |
commit | 0973dc78cd608ec086384c8bb505f478c7cd2a8e (patch) | |
tree | 0598339b5a29984fea33e7cd826ad6004d6f05de | |
parent | 16bf3e35cdad1da202ab5279c572c33cf3c786fc (diff) | |
download | openttd-0973dc78cd608ec086384c8bb505f478c7cd2a8e.tar.xz |
(svn r5614) Move a type declaration to its only user
-rw-r--r-- | vehicle.c | 1 | ||||
-rw-r--r-- | vehicle.h | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -593,6 +593,7 @@ void VehicleEnteredDepotThisTick(Vehicle *v) } } +typedef void VehicleTickProc(Vehicle*); static VehicleTickProc* _vehicle_tick_procs[] = { Train_Tick, RoadVeh_Tick, @@ -242,7 +242,6 @@ struct Vehicle { #define IS_CUSTOM_FIRSTHEAD_SPRITE(x) (x == 0xFD) #define IS_CUSTOM_SECONDHEAD_SPRITE(x) (x == 0xFE) -typedef void VehicleTickProc(Vehicle *v); typedef void *VehicleFromPosProc(Vehicle *v, void *data); void VehicleServiceInDepot(Vehicle *v); |