NEVERHOOD: Fix uninitialized members of the Screen class - CID 1022299

This commit is contained in:
Filippos Karapetis 2013-09-26 23:52:16 +03:00
parent b94165abe3
commit 871b4a83e2

View File

@ -27,7 +27,8 @@ namespace Neverhood {
Screen::Screen(NeverhoodEngine *vm)
: _vm(vm), _paletteData(NULL), _paletteChanged(false), _smackerDecoder(NULL),
_yOffset(0), _fullRefresh(false) {
_yOffset(0), _fullRefresh(false), _frameDelay(0), _savedSmackerDecoder(NULL),
_savedFrameDelay(0), _savedYOffset(0) {
_ticks = _vm->_system->getMillis();