diff options
| author | Max Horn | 2008-09-01 20:21:53 +0000 | 
|---|---|---|
| committer | Max Horn | 2008-09-01 20:21:53 +0000 | 
| commit | 7002aa8981187dfde3a8849ebf4b8f5df498236f (patch) | |
| tree | c2cbc077d176893c3ff88f6ec096de20578964aa /engines/sword2/animation.cpp | |
| parent | f2b26c5615dd743ea99568920428a0a562bc94d3 (diff) | |
| parent | 852bc9dbb750b9995d31e70f4158c97d3758c46f (diff) | |
| download | scummvm-rg350-7002aa8981187dfde3a8849ebf4b8f5df498236f.tar.gz scummvm-rg350-7002aa8981187dfde3a8849ebf4b8f5df498236f.tar.bz2 scummvm-rg350-7002aa8981187dfde3a8849ebf4b8f5df498236f.zip | |
Merging more of the GSoC 2008 RTL branch: SWORD2
svn-id: r34256
Diffstat (limited to 'engines/sword2/animation.cpp')
| -rw-r--r-- | engines/sword2/animation.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index 48196a2f7d..76f14851e7 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -357,8 +357,8 @@ bool MoviePlayer::userInterrupt() {  		case Common::EVENT_SCREEN_CHANGED:  			handleScreenChanged();  			break; +		case Common::EVENT_RTL:  		case Common::EVENT_QUIT: -			_vm->closeGame();  			terminate = true;  			break;  		case Common::EVENT_KEYDOWN: @@ -379,7 +379,7 @@ void MoviePlayer::play(SequenceTextInfo *textList, uint32 numLines, int32 leadIn  	bool startNextText = false;  	// This happens if the user quits during the "eye" cutscene. -	if (_vm->_quit) +	if (_vm->quit())  		return;  	_numSpeechLines = numLines; | 
