diff options
author | Vladimir Menshakov | 2009-11-08 20:38:04 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-11-08 20:38:04 +0000 |
commit | fac5aeafbd6b811125ea4dc4e05f8c5163bc1f16 (patch) | |
tree | c4b9c6d13f8b5cc91ed627c3afa197c107faa2d4 | |
parent | 63c6918a8cd994eb4199938b82b93afdd3cbcfc3 (diff) | |
download | scummvm-rg350-fac5aeafbd6b811125ea4dc4e05f8c5163bc1f16.tar.gz scummvm-rg350-fac5aeafbd6b811125ea4dc4e05f8c5163bc1f16.tar.bz2 scummvm-rg350-fac5aeafbd6b811125ea4dc4e05f8c5163bc1f16.zip |
fixed wrong debug output
svn-id: r45759
-rw-r--r-- | engines/teenagent/dialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/teenagent/dialog.cpp b/engines/teenagent/dialog.cpp index fc2573209a..fa4f509014 100644 --- a/engines/teenagent/dialog.cpp +++ b/engines/teenagent/dialog.cpp @@ -31,7 +31,7 @@ namespace TeenAgent { void Dialog::show(Scene *scene, uint16 addr, uint16 animation1, uint16 animation2, byte color1, byte color2, byte slot1, byte slot2) { --slot1; --slot2; - debug(0, "Dialog::pop(%04x, %u:%u, %u:%u)", addr, slot1, animation1, slot2, animation2); + debug(0, "Dialog::show(%04x, %u:%u, %u:%u)", addr, slot1, animation1, slot2, animation2); Resources *res = Resources::instance(); int n = 0; Common::String message; @@ -98,6 +98,7 @@ void Dialog::show(Scene *scene, uint16 addr, uint16 animation1, uint16 animation message.trim(); if (message.empty()) break; + SceneEvent e(SceneEvent::kMessage); e.message = message; e.color = color; |