diff options
author | Strangerke | 2014-08-06 20:07:11 +0200 |
---|---|---|
committer | Strangerke | 2014-08-06 20:07:11 +0200 |
commit | 09d1dee599de4e345e93b17af76d000870d340eb (patch) | |
tree | dcf7b53cec28ad1045e219cb9d05223fae5233b7 | |
parent | 76480bed15c304a6a00c51389493b49775309d1a (diff) | |
download | scummvm-rg350-09d1dee599de4e345e93b17af76d000870d340eb.tar.gz scummvm-rg350-09d1dee599de4e345e93b17af76d000870d340eb.tar.bz2 scummvm-rg350-09d1dee599de4e345e93b17af76d000870d340eb.zip |
MADS: Fix some more uninitialized variables
-rw-r--r-- | engines/mads/msurface.h | 2 | ||||
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/mads/msurface.h b/engines/mads/msurface.h index 23e0a03985..cd6bde1271 100644 --- a/engines/mads/msurface.h +++ b/engines/mads/msurface.h @@ -230,7 +230,7 @@ public: /** * Constructor */ - DepthSurface(MADSEngine *vm) : _vm(vm) {} + DepthSurface(MADSEngine *vm) : _vm(vm), _depthStyle(0) {} /** * Returns the depth at a given position diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp index d4b277d856..f3eddc3fbb 100644 --- a/engines/mads/nebular/dialogs_nebular.cpp +++ b/engines/mads/nebular/dialogs_nebular.cpp @@ -638,6 +638,7 @@ GameDialog::GameDialog(MADSEngine *vm) : FullScreenDialog(vm) { scene.clearVocab(); scene._dynamicHotspots.clear(); _vm->_dialogs->_defaultPosition = Common::Point(-1, -1); + _menuSpritesIndex = 0; } void GameDialog::display() { |