From a31cae55a113e2103d6e5359bd27f64f84c16ed5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 20 Apr 2014 11:14:11 -0400 Subject: MADS: Added extra initialisation of Scene class fields --- engines/mads/scene.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines') diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index 78a36d97d1..40a0a8f106 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -40,6 +40,7 @@ Scene::Scene(MADSEngine *vm): _vm(vm), _action(_vm), _depthSurface(vm), _cyclingActive = false; _cyclingThreshold = 0; _cyclingDelay = 0; + _totalCycleColors = 0; _depthStyle = 0; _roomChanged = false; _reloadSceneFlag = false; @@ -50,6 +51,11 @@ Scene::Scene(MADSEngine *vm): _vm(vm), _action(_vm), _depthSurface(vm), _frameStartTime = 0; _layer = LAYER_GUI; _lookFlag = false; + _bandsRange = 0; + _scaleRange = 0; + _interfaceY = 0; + _spritesCount = 0; + _variant = 0; _paletteUsageF.push_back(PaletteUsage::UsageEntry(0xF)); -- cgit v1.2.3