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