aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-26 18:33:11 -0400
committerPaul Gilbert2015-07-26 18:33:11 -0400
commitec5406377c65fc67bca2c04a1912ba1b292eac25 (patch)
treed22291e15e553e6dd295a6027fce28d0029487ca /engines/sherlock/tattoo
parent7648a70eb45ad1b000b3bfbb140d77dbbe176c0d (diff)
downloadscummvm-rg350-ec5406377c65fc67bca2c04a1912ba1b292eac25.tar.gz
scummvm-rg350-ec5406377c65fc67bca2c04a1912ba1b292eac25.tar.bz2
scummvm-rg350-ec5406377c65fc67bca2c04a1912ba1b292eac25.zip
SHERLOCK: RT: Fix crash from adding text window multiple times
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo_talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index dbeeaf8918..8303fd42ad 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -193,7 +193,7 @@ void TattooTalk::talkInterface(const byte *&str) {
}
// Display the text window
-// ui.banishWindow();
+ ui.banishWindow();
ui._textWidget.load(Common::String((const char *)s, (const char *)str), _speaker);
ui._textWidget.summonWindow();
_wait = true;