aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/threads/talkthread_duckman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/illusions/threads/talkthread_duckman.cpp')
-rw-r--r--engines/illusions/threads/talkthread_duckman.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/engines/illusions/threads/talkthread_duckman.cpp b/engines/illusions/threads/talkthread_duckman.cpp
index 07fe1bb56a..2d6c455b1c 100644
--- a/engines/illusions/threads/talkthread_duckman.cpp
+++ b/engines/illusions/threads/talkthread_duckman.cpp
@@ -293,17 +293,6 @@ void TalkThread_Duckman::refreshText() {
_textEndTime = _textStartTime + _textDuration;
}
-static char *debugW2I(byte *wstr) {
- static char buf[65];
- char *p = buf;
- while (*wstr != 0) {
- *p++ = *wstr;
- wstr += 2;
- }
- *p = 0;
- return buf;
-}
-
int TalkThread_Duckman::insertText() {
debug(0, "%08X %08X [%s]", _threadId, _talkId, debugW2I(_currEntryText));
WidthHeight dimensions;