summaryrefslogtreecommitdiff
path: root/depot.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-12-05 22:40:42 +0000
committerbjarni <bjarni@openttd.org>2006-12-05 22:40:42 +0000
commit686a0d7750405d10088a23732f33359728039aa5 (patch)
tree7cde78aa4303c23647773e8bf85a100202213917 /depot.h
parenta9ea304121f708f816f09f1dc77828592ca90e6c (diff)
downloadopenttd-686a0d7750405d10088a23732f33359728039aa5.tar.xz
(svn r7385) -Fix: FS#418 Deleting Train in depot with autoreplace failes
This turned out to be due to continue to drag the old vehicle, that autoreplace sold This could also be triggered if more than one player used the same company Now deleting a vehicle will remove all depot highlights of that vehicle
Diffstat (limited to 'depot.h')
-rw-r--r--depot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/depot.h b/depot.h
index c52c3292a..7cf25a1b1 100644
--- a/depot.h
+++ b/depot.h
@@ -107,4 +107,6 @@ Depot *GetDepotByTile(TileIndex tile);
void InitializeDepots(void);
Depot *AllocateDepot(void);
+void DeleteDepotHighlightOfVehicle(const Vehicle *v);
+
#endif /* DEPOT_H */