summaryrefslogtreecommitdiff
path: root/src/roadveh.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/roadveh.h
parentd982ec81dfec20bac9f04c1d8c50a9efdb7b53bb (diff)
downloadopenttd-faae8f0177a997ec49796e3275bd5a10bc26a939.tar.xz
(svn r16445) -Codechange: update old comments (Yexo)
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 1e688e289..f63cf02ee 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -116,12 +116,7 @@ struct RoadVehicleCache {
};
/**
- * 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) RoadVehicle();
- *
- * As side-effect the vehicle type is set correctly.
+ * Buses, trucks and trams belong to this class.
*/
struct RoadVehicle : public SpecializedVehicle<RoadVehicle, VEH_ROAD> {
RoadVehicleCache rcache; ///< Cache of often used calculated values