aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-04-11 19:52:45 +0200
committerStrangerke2014-04-11 19:52:45 +0200
commit3ad447313be0e93f164d68f902e4840a0d1da141 (patch)
tree82b653c576f54b6bd3ca204ccdee4c9c78b05019 /engines
parent5ef46aff111ca2545256ff47fc591ce2f9225af1 (diff)
downloadscummvm-rg350-3ad447313be0e93f164d68f902e4840a0d1da141.tar.gz
scummvm-rg350-3ad447313be0e93f164d68f902e4840a0d1da141.tar.bz2
scummvm-rg350-3ad447313be0e93f164d68f902e4840a0d1da141.zip
MADS: Initialize scene102 variables, move an empty function of Scene 103 to header
Diffstat (limited to 'engines')
-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();
};