From 503ee780080beb986d101c155086ff12c2835cd4 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Wed, 28 Apr 2010 22:16:48 +0000 Subject: Initialize _requested*ScrollDir variables in constructor. svn-id: r48840 --- engines/parallaction/graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/parallaction') diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index bcafd4eb6d..636aeb3d7e 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -721,7 +721,8 @@ void Gfx::grabBackground(const Common::Rect& r, Graphics::Surface &dst) { Gfx::Gfx(Parallaction* vm) : _vm(vm), _disk(vm->_disk), _backgroundInfo(0), _scrollPosX(0), _minScrollX(0), _maxScrollX(0), - _minScrollY(0), _maxScrollY(0), _requestedHScrollSteps(0), _requestedVScrollSteps(0) { + _minScrollY(0), _maxScrollY(0), _requestedHScrollSteps(0), _requestedVScrollSteps(0), + _requestedHScrollDir(0), _requestedVScrollDir(0) { _gameType = _vm->getGameType(); _doubleBuffering = _gameType != GType_Nippon; -- cgit v1.2.3