diff options
author | Nicola Mettifogo | 2007-08-06 19:43:33 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-08-06 19:43:33 +0000 |
commit | 7c20288ba103b4c752b89583c7599a2cf6b594fa (patch) | |
tree | 2fe2dd2d61b68d142dd60bb747f4c75ffd629218 /engines/parallaction/graphics.cpp | |
parent | 14448af3bb57c49a3bfb056c1f368db47161b3ff (diff) | |
download | scummvm-rg350-7c20288ba103b4c752b89583c7599a2cf6b594fa.tar.gz scummvm-rg350-7c20288ba103b4c752b89583c7599a2cf6b594fa.tar.bz2 scummvm-rg350-7c20288ba103b4c752b89583c7599a2cf6b594fa.zip |
Removed useless mask width and size data members from engine.
svn-id: r28474
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 0eba2b8db3..5f33b49cda 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -810,11 +810,11 @@ void Gfx::zeroMaskValue(uint16 x, uint16 y, byte color) { } void Gfx::fillMaskRect(const Common::Rect& r, byte color) { - uint16 _di = r.left/4 + r.top * _vm->_screenMaskWidth; + uint16 _di = r.left/4 + r.top * _depthMask->internalWidth; for (uint16 _si = r.top; _si < r.bottom; _si++) { memset(_depthMask->data + _di, color, r.width()/4+1); - _di += _vm->_screenMaskWidth; + _di += _depthMask->internalWidth; } return; |