From 3ad447313be0e93f164d68f902e4840a0d1da141 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 11 Apr 2014 19:52:45 +0200 Subject: MADS: Initialize scene102 variables, move an empty function of Scene 103 to header --- engines/mads/nebular/nebular_scenes1.cpp | 3 --- engines/mads/nebular/nebular_scenes1.h | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'engines') 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(); }; -- cgit v1.2.3