From a8a43329bba6aab75423758426cfb8f8e1608df5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 8 Jul 2019 15:15:07 +0200 Subject: HDB: Initialise variables --- engines/hdb/map.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/hdb/map.cpp') diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp index 6fcb582388..d725dc7a2a 100644 --- a/engines/hdb/map.cpp +++ b/engines/hdb/map.cpp @@ -28,6 +28,8 @@ Map::Map() { _mapLoaded = false; _animCycle = 0; + + _numForegrounds = _numGratings = 0; } Map::~Map() { -- cgit v1.2.3