summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-08 16:27:54 +0000
committerrubidium <rubidium@openttd.org>2007-03-08 16:27:54 +0000
commitce919e8c719f0f698ac86dcaa528368316f2e52d (patch)
treee32a4dc6207efbaacc5af4e5c41a353b98b9a897 /src/ship.h
parentaca3fb2b6ef69ae571b167d3071edd46d0ed383c (diff)
downloadopenttd-ce919e8c719f0f698ac86dcaa528368316f2e52d.tar.xz
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship.h b/src/ship.h
index 5c6e13596..e4bfd9f98 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -12,7 +12,7 @@ void GetShipSpriteSize(EngineID engine, uint &width, uint &height);
static inline bool IsShipInDepot(const Vehicle* v)
{
- assert(v->type == VEH_Ship);
+ assert(v->type == VEH_SHIP);
return v->u.ship.state == 0x80;
}