aboutsummaryrefslogtreecommitdiff
path: root/kyra/sprites.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2005-12-20 14:06:47 +0000
committerJohannes Schickel2005-12-20 14:06:47 +0000
commitd43294e7d4bfa1c36bf4cf76a5d0f27c73102b13 (patch)
tree7057b340791259a236f2e6a22333fc93bbf890fe /kyra/sprites.cpp
parentdf493c63c4a0ffc66aa8576dae80a914c344606b (diff)
downloadscummvm-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/sprites.cpp')
-rw-r--r--kyra/sprites.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}