aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp3
-rw-r--r--engines/mads/nebular/nebular_scenes1.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index 7cc0ded2f7..3722e4328c 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -1313,9 +1313,6 @@ void Scene103::step() {
}
}
-void Scene103::preActions() {
-}
-
void Scene103::actions() {
if (_action._savedFields._lookFlag) {
_vm->_dialogs->show(10322);
diff --git a/engines/mads/nebular/nebular_scenes1.h b/engines/mads/nebular/nebular_scenes1.h
index 782dbb573b..ac1e118d90 100644
--- a/engines/mads/nebular/nebular_scenes1.h
+++ b/engines/mads/nebular/nebular_scenes1.h
@@ -90,7 +90,8 @@ private:
void addRandomMessage();
public:
- Scene102(MADSEngine *vm) : Scene1xx(vm) {}
+ Scene102(MADSEngine *vm) : Scene1xx(vm), _fridgeOpenedFl(false), _fridgeOpenedDescr(false), _fridgeFirstOpenFl(false),
+ _chairDescrFl(false), _drawerDescrFl(false), _activeMsgFl(false), _fridgeCommentCount(0) {}
virtual void setup();
virtual void enter();
@@ -107,7 +108,7 @@ public:
virtual void setup();
virtual void enter();
virtual void step();
- virtual void preActions();
+ virtual void preActions() {};
virtual void actions();
virtual void postActions();
};