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/disk_ns.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/disk_ns.cpp')
-rw-r--r-- | engines/parallaction/disk_ns.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp index 7949be4a0b..9c93a9f9df 100644 --- a/engines/parallaction/disk_ns.cpp +++ b/engines/parallaction/disk_ns.cpp @@ -628,7 +628,7 @@ void DosDisk_ns::loadMaskAndPath(const char *name) { parseDepths(_resArchive); _resArchive.read(pathBuf, _vm->_screenPathSize); - _resArchive.read(mask->data, _vm->_screenMaskSize); + _resArchive.read(mask->data, mask->size); _vm->_gfx->setMask(mask); _vm->setPath(pathBuf); @@ -1239,9 +1239,8 @@ void AmigaDisk_ns::loadMask(const char *name) { BitBuffer *mask = new BitBuffer; mask->create(_vm->_screenWidth, _vm->_screenHeight); - stream.read(mask->data, _vm->_screenMaskSize); + stream.read(mask->data, mask->size); buildMask(mask->data); - _vm->_gfx->setMask(mask); delete s; |