diff options
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/mouse.cpp | 4 | ||||
-rw-r--r-- | sword1/sword1.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sword1/mouse.cpp b/sword1/mouse.cpp index c799cdb7eb..3bb53c892b 100644 --- a/sword1/mouse.cpp +++ b/sword1/mouse.cpp @@ -44,8 +44,8 @@ Mouse::~Mouse(void) { setLuggage(0, 0); setPointer(0, 0); - for (uint8 cnt = 0; cnt < 17; cnt++) // force res manager to keep mouse - _resMan->resClose(MSE_POINTER + cnt); // cursors in memory all the time + for (uint8 cnt = 0; cnt < 17; cnt++) // close mouse cursor resources + _resMan->resClose(MSE_POINTER + cnt); } void Mouse::initialize(void) { diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index f5225affe8..82aa029f85 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -122,6 +122,7 @@ SwordEngine::~SwordEngine() { delete _mouse; delete _objectMan; _resMan->flush(); // free all memory + _memMan->flush(); delete _resMan; delete _memMan; } @@ -1309,7 +1310,6 @@ void SwordEngine::delay(uint amount) { //copied and mutilated from sky.cpp _mouseState |= BS1R_BUTTON_UP; break; case OSystem::EVENT_QUIT: - //_system->quit(); _systemVars.engineQuit = true; break; default: |