diff options
author | Thierry Crozat | 2013-05-14 20:28:47 +0100 |
---|---|---|
committer | Thierry Crozat | 2013-05-14 21:51:25 +0100 |
commit | 2e7d06b67086be292c45901f5007d589e243d976 (patch) | |
tree | 40e5d8414dfac23f16b83515e53cc1f9e4d5c7f9 | |
parent | b59ac9ea3a837d3118f501464f380176510735f8 (diff) | |
download | scummvm-rg350-2e7d06b67086be292c45901f5007d589e243d976.tar.gz scummvm-rg350-2e7d06b67086be292c45901f5007d589e243d976.tar.bz2 scummvm-rg350-2e7d06b67086be292c45901f5007d589e243d976.zip |
SWORD1: Initialize class variables in constructor
CID 1002998.
-rw-r--r-- | engines/sword1/animation.cpp | 2 |
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; |