diff options
Diffstat (limited to 'src/depot.cpp')
-rw-r--r-- | src/depot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/depot.cpp b/src/depot.cpp index f5c134b4b..f53a51ff0 100644 --- a/src/depot.cpp +++ b/src/depot.cpp @@ -11,6 +11,7 @@ #include "stdafx.h" #include "depot_base.h" +#include "order_backup.h" #include "order_func.h" #include "window_func.h" #include "core/pool_func.hpp" @@ -31,6 +32,7 @@ Depot::~Depot() /* Delete the depot-window */ DeleteWindowById(WC_VEHICLE_DEPOT, this->xy); + OrderBackup::Reset(this->xy); /* Delete the depot list */ WindowNumber wno = (this->index << 16) | VLW_DEPOT_LIST | GetTileOwner(this->xy); |