STARTREK: Fix Bug in text Command of Debug Console

This was incorrectly passing a single character, rather than a pointer
for the string.
This commit is contained in:
D G Turner 2021-03-27 02:53:00 +00:00
parent 804ea64f31
commit eac50757db

View File

@ -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);