aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/livingbooks.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2011-03-29 15:07:45 +0200
committerAlyssa Milburn2011-03-29 15:07:45 +0200
commit9bf08000323515b300bf7e267f9523c994b0383b (patch)
tree7c289ba4b558f4818a2c61b3395296782e1e6353 /engines/mohawk/livingbooks.cpp
parent86fcca5a878fa464f4b5751fa5fb9ad0a7d69f9e (diff)
downloadscummvm-rg350-9bf08000323515b300bf7e267f9523c994b0383b.tar.gz
scummvm-rg350-9bf08000323515b300bf7e267f9523c994b0383b.tar.bz2
scummvm-rg350-9bf08000323515b300bf7e267f9523c994b0383b.zip
MOHAWK: Fix LB debug message to use the right name.
Diffstat (limited to 'engines/mohawk/livingbooks.cpp')
-rw-r--r--engines/mohawk/livingbooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index b25a1a7d8f..8f497cb7b3 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -2404,7 +2404,7 @@ void LBItem::runScriptEntry(LBScriptEntry *entry) {
debug(2, "Target %04x (%04x) doesn't exist, skipping", targetId, param);
continue;
}
- debug(2, "Target: %04x (%04x) '%s'", targetId, param, _desc.c_str());
+ debug(2, "Target: %04x (%04x) '%s'", targetId, param, target->_desc.c_str());
} else {
target = this;
debug(2, "Self-target on '%s'", _desc.c_str());