diff options
-rw-r--r-- | engines/kyra/script_v1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp index fb6dce7429..ea7dc77651 100644 --- a/engines/kyra/script_v1.cpp +++ b/engines/kyra/script_v1.cpp @@ -51,19 +51,19 @@ int KyraEngine::o1_characterSays(ScriptState *script) { const char *string = stackPosString(0); if (_flags.platform == Common::kPlatformFMTowns && _flags.lang == Common::JA_JPN) { - static const char townsString1[] = { + static const uint8 townsString1[] = { 0x83, 0x75, 0x83, 0x89, 0x83, 0x93, 0x83, 0x83, 0x93, 0x81, 0x41, 0x82, 0xDC, 0x82, 0xBD, 0x97, 0x88, 0x82, 0xBD, 0x82, 0xCC, 0x82, 0xA9, 0x81, 0x48, 0x00, 0x00, 0x00 }; - static const char townsString2[] = { + static const uint8 townsString2[] = { 0x83, 0x75, 0x83, 0x89, 0x83, 0x93, 0x83, 0x5C, 0x83, 0x93, 0x81, 0x41, 0x82, 0xDC, 0x82, 0xBD, 0x97, 0x88, 0x82, 0xBD, 0x82, 0xCC, 0x82, 0xA9, 0x81, 0x48, 0x00, 0x00 }; - if (strncmp(townsString1, string, sizeof(townsString1)) == 0) - string = townsString2; + if (strncmp((const char *)townsString1, string, sizeof(townsString1)) == 0) + string = (const char *)townsString2; } characterSays(-1, string, stackPos(1), stackPos(2)); |