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
commitdb9cdd6749079590b975f6e2fe514b1206b47518 (patch)
treede1248467189ac58bfefca72dc98668d05a651bf /ship.h
parent4204eb66744be0ebf39512c50a77691f4328dff0 (diff)
downloadopenttd-db9cdd6749079590b975f6e2fe514b1206b47518.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)
{