diff options
author | Paul Gilbert | 2014-04-20 11:14:11 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-20 11:14:11 -0400 |
commit | a31cae55a113e2103d6e5359bd27f64f84c16ed5 (patch) | |
tree | 3b0ade1889378f8ab28fb0033c38796f73950ead /engines | |
parent | 9d25832a8106478eed9a1b581043c6ae16fc4f5c (diff) | |
download | scummvm-rg350-a31cae55a113e2103d6e5359bd27f64f84c16ed5.tar.gz scummvm-rg350-a31cae55a113e2103d6e5359bd27f64f84c16ed5.tar.bz2 scummvm-rg350-a31cae55a113e2103d6e5359bd27f64f84c16ed5.zip |
MADS: Added extra initialisation of Scene class fields
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mads/scene.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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)); |