summaryrefslogtreecommitdiff
path: root/ship.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-10-04 12:01:59 +0000
committerbjarni <bjarni@openttd.org>2006-10-04 12:01:59 +0000
commitf8f0bd4943cc5c6ccdcf4f9fe8dc4b03c64f6f3f (patch)
treede1248467189ac58bfefca72dc98668d05a651bf /ship.h
parent5bb5da02ad2f1a02462aa1d39777ec5d1d897266 (diff)
downloadopenttd-f8f0bd4943cc5c6ccdcf4f9fe8dc4b03c64f6f3f.tar.xz
(svn r6637) -Codechange: merged all (vehicle type)EnterDepot into VehicleEnterDepot()
This revealed duplicated code like aircraft lists got invalidated twice Moved invalidation of the vehicle detail window to VehicleServiceInDepot() as it should always be updated when serviced
Diffstat (limited to 'ship.h')
-rw-r--r--ship.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ship.h b/ship.h
index eb81ef9a6..4f91276ef 100644
--- a/ship.h
+++ b/ship.h
@@ -6,6 +6,7 @@
#include "vehicle.h"
void CcCloneShip(bool success, TileIndex tile, uint32 p1, uint32 p2);
+void RecalcShipStuff(Vehicle *v);
static inline bool IsShipInDepot(const Vehicle* v)
{