aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-29 21:48:28 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commita279faf251f1703355b5d7dbaf2b935a25e21047 (patch)
tree5a61f3e0a7486aa9d3ee91ebfc9cc8fb3e7d6fd4
parent0f65b9abb3d671f1ffd9cd1089fca055ce24d4db (diff)
downloadscummvm-rg350-a279faf251f1703355b5d7dbaf2b935a25e21047.tar.gz
scummvm-rg350-a279faf251f1703355b5d7dbaf2b935a25e21047.tar.bz2
scummvm-rg350-a279faf251f1703355b5d7dbaf2b935a25e21047.zip
DIRECTOR: Fix warning
-rw-r--r--engines/director/score.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 3863ef75c0..c51c6cc159 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -1204,7 +1204,7 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) {
Image::ImageDecoder *Frame::getImageFrom(uint16 spriteId) {
uint16 imgId = spriteId + 1024;
- Image::ImageDecoder *img;
+ Image::ImageDecoder *img = NULL;
if (!_vm->_currentScore->getArchive()->hasResource(MKTAG('D', 'I', 'B', ' '), imgId)) {
img = new DIBDecoder();