diff options
author | Vladimir Menshakov | 2010-02-26 07:37:35 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-02-26 07:37:35 +0000 |
commit | a8a327616b3f6bb50fb374d5e1d5c37c1c9f3c67 (patch) | |
tree | 66de8641ba119bad14fc5e416e3be253a10b3736 /engines/teenagent | |
parent | eacf1030e4fce35c9f9e048edfa05dc44d0a3e5d (diff) | |
download | scummvm-rg350-a8a327616b3f6bb50fb374d5e1d5c37c1c9f3c67.tar.gz scummvm-rg350-a8a327616b3f6bb50fb374d5e1d5c37c1c9f3c67.tar.bz2 scummvm-rg350-a8a327616b3f6bb50fb374d5e1d5c37c1c9f3c67.zip |
better flag/scene checking for the last intrusion attempt
svn-id: r48132
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/callbacks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/callbacks.cpp b/engines/teenagent/callbacks.cpp index 1758791150..c56489b24f 100644 --- a/engines/teenagent/callbacks.cpp +++ b/engines/teenagent/callbacks.cpp @@ -4050,7 +4050,7 @@ bool TeenAgentEngine::processCallback(uint16 addr) { displayCutsceneMessage(0x580a, 30484); processCallback(ptr); playMusic(6); - if (res->dseg.get_byte(0xdbec) != 1) + if (getFlag(0xdbec) != 1 || ptr != 0x9f3e) //ptr check eq. scene_id == 11 loadScene(id, scene->getPosition()); return true; } |