Skip to content

Commit

Permalink
SWORD1: Initialize class variables in constructor
Browse files Browse the repository at this point in the history
CID 1002998.
  • Loading branch information
criezy committed May 14, 2013
1 parent b59ac9e commit 2e7d06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sword1/animation.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 2e7d06b

Please sign in to comment.