aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-04-03 13:16:02 +0000
committerMax Horn2004-04-03 13:16:02 +0000
commit330cf4338327a7246f693192aa5c687d3eb5be79 (patch)
tree15e81caeecd6b189a13ff3b5ff8c70b5fc54e9fc
parentdedc33d99c2f4b3e4808abe3b31ed0312ca7134b (diff)
downloadscummvm-rg350-330cf4338327a7246f693192aa5c687d3eb5be79.tar.gz
scummvm-rg350-330cf4338327a7246f693192aa5c687d3eb5be79.tar.bz2
scummvm-rg350-330cf4338327a7246f693192aa5c687d3eb5be79.zip
Fix for bug #896844 (DIG: Missing subtitle at the lab console)
svn-id: r13446
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 44c7222d6d..868e252e44 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -107,7 +107,7 @@ void ScummEngine::CHARSET_1() {
if (getTalkingActor() != 0xFF)
a = derefActorSafe(getTalkingActor(), "CHARSET_1");
- if (a && _string[0].overhead != 0) {
+ if (a && a->isInCurrentRoom() && _string[0].overhead != 0) {
if (_version <= 5) {
_string[0].xpos = a->_pos.x - camera._cur.x + (_screenWidth / 2);