Fixed quitting from BASS intro, cleaned up comments in agos

svn-id: r32793
This commit is contained in:
Christopher Page 2008-06-26 00:50:16 +00:00
parent 27c427add2
commit e53556af85
2 changed files with 1 additions and 4 deletions

View File

@ -101,9 +101,6 @@ AGOSEngine::AGOSEngine(OSystem *syst)
_vc_get_out_of_code = 0;
_gameOffsetsPtr = 0;
//_quit = false;
//_rtl = false;
_debugger = 0;
_gameFile = 0;

View File

@ -911,7 +911,7 @@ bool Intro::escDelay(uint32 msecs) {
if (event.type == Common::EVENT_KEYDOWN) {
if (event.kbd.keycode == Common::KEYCODE_ESCAPE)
return false;
} else if (event.type == Common::EVENT_QUIT) {
} else if (event.type == Common::EVENT_QUIT || g_engine->_quit) {
g_engine->_quit = true;
return false;
}