From eac50757dbe101751d43d59634ab5d9f3ceadb80 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 27 Mar 2021 02:53:00 +0000 Subject: [PATCH] STARTREK: Fix Bug in text Command of Debug Console This was incorrectly passing a single character, rather than a pointer for the string. --- engines/startrek/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/startrek/console.cpp b/engines/startrek/console.cpp index a71e3b1da4a..b8221563661 100644 --- a/engines/startrek/console.cpp +++ b/engines/startrek/console.cpp @@ -101,7 +101,7 @@ bool Console::Cmd_Text(int argc, const char **argv) { do { uint16 offset = textList[index].offsetEnglishCD; - debugPrintf("%i - %i: %s\n", textList[index].id, offset, rdfData[offset]); + debugPrintf("%i - %i: %s\n", textList[index].id, offset, rdfData+offset); index++; } while (textList[index].id != -1);