diff --git a/apps/openmw/mwmp/CellController.cpp b/apps/openmw/mwmp/CellController.cpp index 3913a0e75..d7508f0ce 100644 --- a/apps/openmw/mwmp/CellController.cpp +++ b/apps/openmw/mwmp/CellController.cpp @@ -22,12 +22,6 @@ mwmp::CellController::CellController() { } - -mwmp::CellController::~CellController() -{ - -} - void CellController::updateLocal(bool forceUpdate) { for (std::map::iterator it = cellsInitialized.begin(); it != cellsInitialized.end();) diff --git a/apps/openmw/mwmp/CellController.hpp b/apps/openmw/mwmp/CellController.hpp index da1e433cf..fa6ad1478 100644 --- a/apps/openmw/mwmp/CellController.hpp +++ b/apps/openmw/mwmp/CellController.hpp @@ -14,7 +14,6 @@ namespace mwmp public: CellController(); - ~CellController(); void updateLocal(bool forceUpdate); void updateDedicated(float dt); diff --git a/apps/openmw/mwmp/Main.cpp b/apps/openmw/mwmp/Main.cpp index 7b611f049..c5a3da206 100644 --- a/apps/openmw/mwmp/Main.cpp +++ b/apps/openmw/mwmp/Main.cpp @@ -94,6 +94,9 @@ Main::~Main() LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "tes3mp stopped"); delete mNetworking; delete mLocalPlayer; + delete mCellController; + delete mGUIController; + delete mMechanicsHelper; PlayerList::cleanUp(); }