summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index d25732bde..857323415 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -460,4 +460,8 @@ PalSpriteID GetVehiclePalette(const Vehicle *v);
* Best is to have a virtual value for it when it needs to change again */
#define STATUS_BAR 5
+#define CMD_SEND_TO_DEPOT(x) _send_to_depot_proc_table[ x - VEH_Train]
+
+extern const uint32 _send_to_depot_proc_table[];
+
#endif /* VEHICLE_H */