diff options
author | Nicola Mettifogo | 2010-04-28 22:16:48 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2010-04-28 22:16:48 +0000 |
commit | 503ee780080beb986d101c155086ff12c2835cd4 (patch) | |
tree | c3283c68f32bfb24619ae0e83bb1d5b906198771 | |
parent | a4dcfdd90742e1c5f6aa8e6dff0255ea6194e708 (diff) | |
download | scummvm-rg350-503ee780080beb986d101c155086ff12c2835cd4.tar.gz scummvm-rg350-503ee780080beb986d101c155086ff12c2835cd4.tar.bz2 scummvm-rg350-503ee780080beb986d101c155086ff12c2835cd4.zip |
Initialize _requested*ScrollDir variables in constructor.
svn-id: r48840
-rw-r--r-- | engines/parallaction/graphics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |