diff options
author | Paul Gilbert | 2014-04-07 23:48:43 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-07 23:48:43 -0400 |
commit | f6cfd1d53b3ac47744c8393c49ecf51a99633fc4 (patch) | |
tree | fa9d4053593f0d5b25858142cdb7fc3990113b5d /engines/mads/screen.cpp | |
parent | 7e13f488abeb6a7530d591bae880fdb185c8fef1 (diff) | |
download | scummvm-rg350-f6cfd1d53b3ac47744c8393c49ecf51a99633fc4.tar.gz scummvm-rg350-f6cfd1d53b3ac47744c8393c49ecf51a99633fc4.tar.bz2 scummvm-rg350-f6cfd1d53b3ac47744c8393c49ecf51a99633fc4.zip |
MADS: Implement missing dirty rect merged area pointer
Diffstat (limited to 'engines/mads/screen.cpp')
-rw-r--r-- | engines/mads/screen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp index 683a56705a..78980fe2a7 100644 --- a/engines/mads/screen.cpp +++ b/engines/mads/screen.cpp @@ -34,6 +34,7 @@ MADSEngine *DirtyArea::_vm = nullptr; DirtyArea::DirtyArea() { _active = false; _textActive = false; + _mergedArea = nullptr; } void DirtyArea::setArea(int width, int height, int maxWidth, int maxHeight) { @@ -206,6 +207,7 @@ void DirtyAreas::mergeAreas(int idx1, int idx2) { da1._bounds2.bottom = da1._bounds.top + (da1._bounds.height() + 1) / 2 - 1; da2._active = false; + da2._mergedArea = &da1; da1._textActive = true; } |