diff options
author | Eugene Sandulenko | 2016-06-29 21:48:28 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | a279faf251f1703355b5d7dbaf2b935a25e21047 (patch) | |
tree | 5a61f3e0a7486aa9d3ee91ebfc9cc8fb3e7d6fd4 /engines/director/score.cpp | |
parent | 0f65b9abb3d671f1ffd9cd1089fca055ce24d4db (diff) | |
download | scummvm-rg350-a279faf251f1703355b5d7dbaf2b935a25e21047.tar.gz scummvm-rg350-a279faf251f1703355b5d7dbaf2b935a25e21047.tar.bz2 scummvm-rg350-a279faf251f1703355b5d7dbaf2b935a25e21047.zip |
DIRECTOR: Fix warning
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 2 |
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(); |