diff options
author | Christopher Page | 2008-07-08 00:16:55 +0000 |
---|---|---|
committer | Christopher Page | 2008-07-08 00:16:55 +0000 |
commit | a43f016b94dd9214f0c72ae1f999a3a265977116 (patch) | |
tree | 83b2ba0813e4659bd660872baab3ef81b0ce1f69 /engines/gob/palanim.cpp | |
parent | 41938b7644d2f1937f28641eac68218515e1f058 (diff) | |
download | scummvm-rg350-a43f016b94dd9214f0c72ae1f999a3a265977116.tar.gz scummvm-rg350-a43f016b94dd9214f0c72ae1f999a3a265977116.tar.bz2 scummvm-rg350-a43f016b94dd9214f0c72ae1f999a3a265977116.zip |
GOB works with the new GMM implementation
svn-id: r32955
Diffstat (limited to 'engines/gob/palanim.cpp')
-rw-r--r-- | engines/gob/palanim.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/palanim.cpp b/engines/gob/palanim.cpp index 2b1b34872a..25c5fb43b7 100644 --- a/engines/gob/palanim.cpp +++ b/engines/gob/palanim.cpp @@ -23,6 +23,8 @@ * */ +#include "common/events.h" + #include "gob/gob.h" #include "gob/palanim.h" #include "gob/global.h" @@ -131,7 +133,7 @@ void PalAnim::fade(Video::PalDesc *palDesc, int16 fadeV, int16 allColors) { bool stop; int16 i; - if (_vm->_quit) + if (g_system->getEventManager()->shouldQuit()) return; _fadeValue = (fadeV < 0) ? -fadeV : 2; |