diff options
Diffstat (limited to 'src/common/Collision/Models/GameObjectModel.cpp')
-rw-r--r-- | src/common/Collision/Models/GameObjectModel.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/Collision/Models/GameObjectModel.cpp b/src/common/Collision/Models/GameObjectModel.cpp index f2b19e038fa..24e9489326e 100644 --- a/src/common/Collision/Models/GameObjectModel.cpp +++ b/src/common/Collision/Models/GameObjectModel.cpp @@ -93,11 +93,7 @@ bool LoadGameObjectModelList(std::string const& dataPath) return true; } -GameObjectModel::~GameObjectModel() -{ - if (iModel) - VMAP::VMapFactory::createOrGetVMapManager()->releaseModelInstance(iModel->GetName()); -} +GameObjectModel::~GameObjectModel() = default; bool GameObjectModel::initialize(std::unique_ptr<GameObjectModelOwnerBase> modelOwner, std::string const& dataPath) { |