diff options
author | uruk | 2014-06-09 23:19:57 +0200 |
---|---|---|
committer | uruk | 2014-06-09 23:20:46 +0200 |
commit | 76fa66fc8ce531d3391a81259e13474b429277f5 (patch) | |
tree | 917b4d01b7df0f5bc10b7a631f4902af6769106b | |
parent | 5d80601c06c02db12147b64c5c17feeaf5565bc8 (diff) | |
download | scummvm-rg350-76fa66fc8ce531d3391a81259e13474b429277f5.tar.gz scummvm-rg350-76fa66fc8ce531d3391a81259e13474b429277f5.tar.bz2 scummvm-rg350-76fa66fc8ce531d3391a81259e13474b429277f5.zip |
CGE2: Fix endless loop regarding kCmdWait.
-rw-r--r-- | engines/cge2/cge2_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 20b16fa227..764bdde5d8 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -538,7 +538,7 @@ void CGE2Engine::tick() { spr->tick(); } if (_waitRef) { - if (_waitRef == _sprite->_ref) + if (_waitRef == spr->_ref) if (spr->seqTest(_waitSeq)) _waitRef = 0; } |