diff options
author | Sven Hesse | 2006-05-31 08:44:14 +0000 |
---|---|---|
committer | Sven Hesse | 2006-05-31 08:44:14 +0000 |
commit | 05499f58dd2e79cae46bd4f250df946261bdac35 (patch) | |
tree | 20e9ab41a9e9039a85edc9ab891587f7b55a9534 /engines/gob/init.cpp | |
parent | 321acd2740936efeb85eb5b771cbfc86a3545e9b (diff) | |
download | scummvm-rg350-05499f58dd2e79cae46bd4f250df946261bdac35.tar.gz scummvm-rg350-05499f58dd2e79cae46bd4f250df946261bdac35.tar.bz2 scummvm-rg350-05499f58dd2e79cae46bd4f250df946261bdac35.zip |
- Removed usage of OSystem::quit(), added a _quitRequested variable
- Fixed some leaks, unitialized memory and delete/delete[]-errors
svn-id: r22790
Diffstat (limited to 'engines/gob/init.cpp')
-rw-r--r-- | engines/gob/init.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/gob/init.cpp b/engines/gob/init.cpp index c411a2430f..8f0311b1fc 100644 --- a/engines/gob/init.cpp +++ b/engines/gob/init.cpp @@ -81,12 +81,10 @@ void Init::cleanup(void) { _vm->_dataio->closeDataFile(); if (_vm->_global->_sprAllocated != 0) - error("cleanup: Error! Allocated sprites left: %d", - _vm->_global->_sprAllocated); + warning("cleanup: Allocated sprites left: %d", _vm->_global->_sprAllocated); _vm->_snd->stopSound(0); _vm->_util->keyboard_release(); - g_system->quit(); } void Init::initGame(char *totName) { |