diff options
author | smatz <smatz@openttd.org> | 2009-05-30 20:13:12 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-30 20:13:12 +0000 |
commit | 8c11d612e44c30e124881ca47e15eda9ef0c5491 (patch) | |
tree | 3fdeab30fd2afc97d9b36c09471e7ce31b56d8c2 /src/aircraft.h | |
parent | 7633362912384ba7759724a2bbc057d97e5f27f0 (diff) | |
download | openttd-8c11d612e44c30e124881ca47e15eda9ef0c5491.tar.xz |
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index 72343e6c5..1977b8249 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -100,9 +100,6 @@ struct Aircraft : public SpecializedVehicle<Aircraft, VEH_AIRCRAFT> { StationID targetairport; byte state; - /** Initializes the Vehicle to an aircraft */ - Aircraft() { this->type = VEH_AIRCRAFT; } - /** We want to 'destruct' the right class. */ virtual ~Aircraft() { this->PreDestructor(); } |