diff options
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index 2f5f14b90..ccf9a242b 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -128,7 +128,7 @@ struct Aircraft : public Vehicle { Aircraft() { this->type = VEH_AIRCRAFT; } /** We want to 'destruct' the right class. */ - virtual ~Aircraft() {} + virtual ~Aircraft() { this->PreDestructor(); } const char *GetTypeString() const { return "aircraft"; } void MarkDirty(); |