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
commit192137258a2d6aed48511d792c531b2f943b86b5 (patch)
tree62ea5052459de216d783281da856bf237479cc9d /ship.h
parentd525bf427833a702d8f04cccf0fe189e8a5dcfca (diff)
downloadopenttd-192137258a2d6aed48511d792c531b2f943b86b5.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 */