summaryrefslogtreecommitdiff
path: root/src/aircraft.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/aircraft.h
parentd982ec81dfec20bac9f04c1d8c50a9efdb7b53bb (diff)
downloadopenttd-faae8f0177a997ec49796e3275bd5a10bc26a939.tar.xz
(svn r16445) -Codechange: update old comments (Yexo)
Diffstat (limited to 'src/aircraft.h')
-rw-r--r--src/aircraft.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/aircraft.h b/src/aircraft.h
index 090add20d..72343e6c5 100644
--- a/src/aircraft.h
+++ b/src/aircraft.h
@@ -89,12 +89,7 @@ struct AircraftCache {
};
/**
- * 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) Aircraft();
- *
- * As side-effect the vehicle type is set correctly.
+ * Aircraft, helicopters, rotors and their shadows belong to this class.
*/
struct Aircraft : public SpecializedVehicle<Aircraft, VEH_AIRCRAFT> {
AircraftCache acache; ///< Cache of often used calculated values