summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-26 23:24:34 +0000
committersmatz <smatz@openttd.org>2009-05-26 23:24:34 +0000
commitfaae8f0177a997ec49796e3275bd5a10bc26a939 (patch)
tree727b922e1b3308c85a9a8b9212b1a4884639c666 /src/ship.h
parentd982ec81dfec20bac9f04c1d8c50a9efdb7b53bb (diff)
downloadopenttd-faae8f0177a997ec49796e3275bd5a10bc26a939.tar.xz
(svn r16445) -Codechange: update old comments (Yexo)
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ship.h b/src/ship.h
index 99a4f94aa..84bd7af57 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -15,12 +15,7 @@ void RecalcShipStuff(Vehicle *v);
void GetShipSpriteSize(EngineID engine, uint &width, uint &height);
/**
- * This class 'wraps' Vehicle; you do not actually instantiate this class.
- * You create a Vehicle using AllocateVehicle, so it is added to the pool
- * and you reinitialize that to a Train using:
- * v = new (v) Ship();
- *
- * As side-effect the vehicle type is set correctly.
+ * All ships have this type.
*/
struct Ship: public SpecializedVehicle<Ship, VEH_SHIP> {
TrackBitsByte state;