aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/animation.cpp
diff options
context:
space:
mode:
authorThierry Crozat2013-05-14 20:28:47 +0100
committerThierry Crozat2013-05-14 21:51:25 +0100
commit2e7d06b67086be292c45901f5007d589e243d976 (patch)
tree40e5d8414dfac23f16b83515e53cc1f9e4d5c7f9 /engines/sword1/animation.cpp
parentb59ac9ea3a837d3118f501464f380176510735f8 (diff)
downloadscummvm-rg350-2e7d06b67086be292c45901f5007d589e243d976.tar.gz
scummvm-rg350-2e7d06b67086be292c45901f5007d589e243d976.tar.bz2
scummvm-rg350-2e7d06b67086be292c45901f5007d589e243d976.zip
SWORD1: Initialize class variables in constructor
CID 1002998.
Diffstat (limited to 'engines/sword1/animation.cpp')
-rw-r--r--engines/sword1/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index ff3c897dba..206bd68b07 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -98,7 +98,7 @@ static const char *const sequenceListPSX[20] = {
///////////////////////////////////////////////////////////////////////////////
MoviePlayer::MoviePlayer(SwordEngine *vm, Text *textMan, ResMan *resMan, OSystem *system, Video::VideoDecoder *decoder, DecoderType decoderType)
- : _vm(vm), _textMan(textMan), _resMan(resMan), _system(system) {
+ : _vm(vm), _textMan(textMan), _resMan(resMan), _system(system), _textX(0), _textY(0), _textWidth(0), _textHeight(0), _textColor(1) {
_decoderType = decoderType;
_decoder = decoder;