diff options
author | Johannes Schickel | 2005-12-20 14:06:47 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-20 14:06:47 +0000 |
commit | d43294e7d4bfa1c36bf4cf76a5d0f27c73102b13 (patch) | |
tree | 7057b340791259a236f2e6a22333fc93bbf890fe /kyra | |
parent | df493c63c4a0ffc66aa8576dae80a914c344606b (diff) | |
download | scummvm-rg350-d43294e7d4bfa1c36bf4cf76a5d0f27c73102b13.tar.gz scummvm-rg350-d43294e7d4bfa1c36bf4cf76a5d0f27c73102b13.tar.bz2 scummvm-rg350-d43294e7d4bfa1c36bf4cf76a5d0f27c73102b13.zip |
Fixed another gfx bug, this time sprite related, in the temple.
svn-id: r19816
Diffstat (limited to 'kyra')
-rw-r--r-- | kyra/script_v1.cpp | 2 | ||||
-rw-r--r-- | kyra/sprites.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp index 9d2db0ce96..6ed617a0ea 100644 --- a/kyra/script_v1.cpp +++ b/kyra/script_v1.cpp @@ -894,7 +894,7 @@ int KyraEngine::cmd_loadSoundFile(ScriptState *script) { } int KyraEngine::cmd_displayWSAFrameOnHidPage(ScriptState *script) { - debug(3, "cmd_displayWSAFrameOnHidPage(0x%X) (%d, %d, %d, %d, %d)", script, stackPos(0), stackPos(1), stackPos(3), stackPos(4)); + debug(3, "cmd_displayWSAFrameOnHidPage(0x%X) (%d, %d, %d, %d, %d)", script, stackPos(0), stackPos(1), stackPos(2), stackPos(3), stackPos(4)); int frame = stackPos(0); int xpos = stackPos(1); int ypos = stackPos(2); diff --git a/kyra/sprites.cpp b/kyra/sprites.cpp index eee22fda23..5f7aa59ac6 100644 --- a/kyra/sprites.cpp +++ b/kyra/sprites.cpp @@ -115,6 +115,7 @@ void Sprites::setupSceneAnims() { bkgdHeight += _anims[i].height2; _anims[i].background = (uint8 *)malloc(_screen->getRectSize(bkgdWidth + 1, bkgdHeight)); + memset(_anims[i].background, 0, _screen->getRectSize(bkgdWidth + 1, bkgdHeight)); //_anims[i].background = (uint8 *)malloc(100*100); assert(_anims[i].background); } |