Merge branch 'master' of https://github.com/zinnschlag/openmw into inputsystem

actorid
scrawl 13 years ago
commit c4fe2e4e2a

@ -146,8 +146,7 @@ void MWBase::Environment::cleanup()
delete mScriptManager;
mScriptManager = 0;
/// \todo Re-enable (currently throwing an exception)
// delete mWindowManager;
delete mWindowManager;
mWindowManager = 0;
delete mWorld;

@ -159,7 +159,6 @@ WindowManager::WindowManager(
WindowManager::~WindowManager()
{
delete mGuiManager;
delete mConsole;
delete mMessageBoxManager;
delete mHud;
@ -182,6 +181,8 @@ WindowManager::~WindowManager()
delete mSpellWindow;
cleanupGarbage();
delete mGuiManager;
}
void WindowManager::cleanupGarbage()

@ -36,6 +36,7 @@ void MyGUIManager::setup(Ogre::RenderWindow *wnd, Ogre::SceneManager *mgr, bool
void MyGUIManager::shutdown()
{
mGui->shutdown ();
delete mGui;
if(mPlatform)
{

Loading…
Cancel
Save