summaryrefslogtreecommitdiff
path: root/src/train.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/train.h
parentd982ec81dfec20bac9f04c1d8c50a9efdb7b53bb (diff)
downloadopenttd-faae8f0177a997ec49796e3275bd5a10bc26a939.tar.xz
(svn r16445) -Codechange: update old comments (Yexo)
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/train.h b/src/train.h
index a96ccb3f2..b38139e01 100644
--- a/src/train.h
+++ b/src/train.h
@@ -294,12 +294,7 @@ struct TrainCache {
};
/**
- * 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) Train();
- *
- * As side-effect the vehicle type is set correctly.
+ * 'Train' is either a loco or a wagon.
*/
struct Train : public SpecializedVehicle<Train, VEH_TRAIN> {
TrainCache tcache;