aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/callbacks.cpp2
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;
}