From 3f2fce56913e1fb13e7c2709c55217e8ace26e2c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 26 Nov 2016 20:45:02 +0100 Subject: SCUMM: Properly inint FM-TOWNS gfx code --- engines/scumm/gfx_towns.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/scumm/gfx_towns.cpp b/engines/scumm/gfx_towns.cpp index 6a558c97b4..166e55e41d 100644 --- a/engines/scumm/gfx_towns.cpp +++ b/engines/scumm/gfx_towns.cpp @@ -206,6 +206,8 @@ TownsScreen::TownsScreen(OSystem *system, int width, int height, Graphics::Pixel memset(_outBuffer, 0, _pitch * _height); setupLayer(0, width, height, 256); + + _numDirtyRects = 0; } TownsScreen::~TownsScreen() { -- cgit v1.2.3