aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data/background.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/data/background.cpp')
-rw-r--r--engines/lastexpress/data/background.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/lastexpress/data/background.cpp b/engines/lastexpress/data/background.cpp
index 3d866c26f9..60379251a3 100644
--- a/engines/lastexpress/data/background.cpp
+++ b/engines/lastexpress/data/background.cpp
@@ -107,6 +107,7 @@ byte *Background::decodeComponent(Common::SeekableReadStream *in, uint32 inSize,
return NULL;
// Initialize the decoding
+ memset(out, 0, outSize * sizeof(byte));
uint32 inPos = 0;
uint32 outPos = 0;