diff options
author | smatz <smatz@openttd.org> | 2011-01-21 14:43:38 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-01-21 14:43:38 +0000 |
commit | 6dc24cf6431be66432d53f33d92ef5abbc80f88c (patch) | |
tree | 9f86818f99cf742d4ec14515b95baa1422c18962 /src/ground_vehicle.hpp | |
parent | 656caf16dbf2010fc742b1dfabcf317f2ab19748 (diff) | |
download | openttd-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.hpp | 2 |
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. */ |