summaryrefslogtreecommitdiff
path: root/src/ground_vehicle.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-01-21 14:43:38 +0000
committersmatz <smatz@openttd.org>2011-01-21 14:43:38 +0000
commit6dc24cf6431be66432d53f33d92ef5abbc80f88c (patch)
tree9f86818f99cf742d4ec14515b95baa1422c18962 /src/ground_vehicle.hpp
parent656caf16dbf2010fc742b1dfabcf317f2ab19748 (diff)
downloadopenttd-6dc24cf6431be66432d53f33d92ef5abbc80f88c.tar.xz
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
Diffstat (limited to 'src/ground_vehicle.hpp')
-rw-r--r--src/ground_vehicle.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ground_vehicle.hpp b/src/ground_vehicle.hpp
index f616c39e0..0a17ea209 100644
--- a/src/ground_vehicle.hpp
+++ b/src/ground_vehicle.hpp
@@ -75,6 +75,8 @@ struct GroundVehicle : public SpecializedVehicle<T, Type> {
GroundVehicleCache gcache; ///< Cache of often calculated values.
uint16 gv_flags; ///< @see GroundVehicleFlags.
+ typedef GroundVehicle<T, Type> GroundVehicleBase; ///< Our type
+
/**
* The constructor at SpecializedVehicle must be called.
*/