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/train.h | |
parent | 656caf16dbf2010fc742b1dfabcf317f2ab19748 (diff) | |
download | openttd-6dc24cf6431be66432d53f33d92ef5abbc80f88c.tar.xz |
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train.h b/src/train.h index f20bdd582..bfeffa554 100644 --- a/src/train.h +++ b/src/train.h @@ -97,7 +97,7 @@ struct Train : public GroundVehicle<Train, VEH_TRAIN> { uint16 wait_counter; /** We don't want GCC to zero our struct! It already is zeroed and has an index! */ - Train() : GroundVehicle<Train, VEH_TRAIN>() {} + Train() : GroundVehicleBase() {} /** We want to 'destruct' the right class. */ virtual ~Train() { this->PreDestructor(); } |