aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/msurface.h2
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp1
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() {