mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Fix characters talking in CD version, stack order is different.
svn-id: r19714
This commit is contained in:
parent
9e7d76883d
commit
a1333d3fb9
@ -304,7 +304,6 @@ int KyraEngine::cmd_magicInMouseItem(ScriptState *script) {
|
||||
}
|
||||
|
||||
int KyraEngine::cmd_characterSays(ScriptState *script) {
|
||||
debug(3, "cmd_characterSays(0x%X) ('%s', %d, %d)", script, stackPosString(0), stackPos(1), stackPos(2));
|
||||
// Japanese version?
|
||||
/*const char *str1 = "âuâëâôââôüAé?é¢ùêé¢é+é®üH";
|
||||
const char *str2 = "âuâëâôâ\\âôüAé?é¢ùêé¢é+é®üH";
|
||||
@ -312,7 +311,14 @@ int KyraEngine::cmd_characterSays(ScriptState *script) {
|
||||
if (strcmp(stackPosString(0), str1) == 0)
|
||||
characterSays((char *)str2, stackPos(1), stackPos(2));
|
||||
else*/
|
||||
characterSays(stackPosString(0), stackPos(1), stackPos(2));
|
||||
|
||||
if (_features & GF_TALKIE) {
|
||||
debug(3, "cmd_characterSays(0x%X) (%d, '%s', %d, %d)", script, stackPos(0), stackPosString(1), stackPos(2), stackPos(3));
|
||||
characterSays(stackPosString(1), stackPos(2), stackPos(3));
|
||||
} else {
|
||||
debug(3, "cmd_characterSays(0x%X) ('%s', %d, %d)", script, stackPosString(0), stackPos(1), stackPos(2));
|
||||
characterSays(stackPosString(0), stackPos(1), stackPos(2));
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user