summaryrefslogtreecommitdiff
path: root/ship.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-09-28 18:42:35 +0000
committerpeter1138 <peter1138@openttd.org>2006-09-28 18:42:35 +0000
commit681c8c016213c471bb2061e7297536b945ea9228 (patch)
tree62ea5052459de216d783281da856bf237479cc9d /ship.h
parentb49018f7b16288601987e78f762f6de974a6d002 (diff)
downloadopenttd-681c8c016213c471bb2061e7297536b945ea9228.tar.xz
(svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch]
Diffstat (limited to 'ship.h')
-rw-r--r--ship.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ship.h b/ship.h
index db5773fb5..eb81ef9a6 100644
--- a/ship.h
+++ b/ship.h
@@ -1,5 +1,8 @@
/* $Id$ */
+#ifndef SHIP_H
+#define SHIP_H
+
#include "vehicle.h"
void CcCloneShip(bool success, TileIndex tile, uint32 p1, uint32 p2);
@@ -14,3 +17,5 @@ static inline bool IsShipInDepotStopped(const Vehicle* v)
{
return IsShipInDepot(v) && v->vehstatus & VS_STOPPED;
}
+
+#endif /* SHIP_H */