diff options
author | Johannes Schickel | 2006-01-14 15:20:00 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-01-14 15:20:00 +0000 |
commit | 576ac7ca116161693ec1e20caa6c3c7bf68daa71 (patch) | |
tree | 3da1e12764a4062d5bbb4794a85b5046ff8193f9 /kyra/script_v1.cpp | |
parent | 7823a6795bb84afa624e2821387e3d34fa7077cd (diff) | |
download | scummvm-rg350-576ac7ca116161693ec1e20caa6c3c7bf68daa71.tar.gz scummvm-rg350-576ac7ca116161693ec1e20caa6c3c7bf68daa71.tar.bz2 scummvm-rg350-576ac7ca116161693ec1e20caa6c3c7bf68daa71.zip |
Fixed bug # 1401236. (KYRA: Erroneous animation in the pantheon of moonlight).
svn-id: r20026
Diffstat (limited to 'kyra/script_v1.cpp')
-rw-r--r-- | kyra/script_v1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp index 696a146282..88900dd0b9 100644 --- a/kyra/script_v1.cpp +++ b/kyra/script_v1.cpp @@ -411,12 +411,12 @@ int KyraEngine::cmd_setScaleMode(ScriptState *script) { } int KyraEngine::cmd_openWSAFile(ScriptState *script) { - debug(3, "cmd_openWSAFile(0x%X) ('%s', %d)", script, stackPosString(0), stackPos(1)); + debug(3, "cmd_openWSAFile(0x%X) ('%s', %d, %d)", script, stackPosString(0), stackPos(1), stackPos(2)); char *filename = stackPosString(0); int wsaIndex = stackPos(1); - _movieObjects[wsaIndex]->open(filename, 1, 0); + _movieObjects[wsaIndex]->open(filename, (stackPos(2) != 0) ? 1 : 0, 0); assert(_movieObjects[wsaIndex]->opened()); return 0; |