aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/scene_data.cpp')
-rw-r--r--engines/mads/scene_data.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index 0cb273a0f4..8f981ef37d 100644
--- a/engines/mads/scene_data.cpp
+++ b/engines/mads/scene_data.cpp
@@ -140,6 +140,11 @@ void ScreenObjects::proc1() {
MADSEngine *DirtyArea::_vm = nullptr;
+DirtyArea::DirtyArea() {
+ _active = false;
+ _textActive = false;
+}
+
void DirtyArea::setArea(int width, int height, int maxWidth, int maxHeight) {
if (_bounds.left % 2) {
--_bounds.left;