From ef152fa2ba5d6e7040434415f5e472da3abc6c5f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 22 Mar 2014 15:55:50 -0400 Subject: MADS: Added _savedLookFlag to MADSAction --- engines/mads/action.cpp | 1 + engines/mads/action.h | 1 + engines/mads/nebular/nebular_scenes1.cpp | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp index 40ece8eb2b..52be8eabba 100644 --- a/engines/mads/action.cpp +++ b/engines/mads/action.cpp @@ -37,6 +37,7 @@ MADSAction::MADSAction(MADSEngine *vm) : _vm(vm) { _selectedAction = 0; _inProgress = false; _savedSelectedRow = false; + _savedLookFlag = false; } void MADSAction::clear() { diff --git a/engines/mads/action.h b/engines/mads/action.h index 440990f79e..04d9c3607a 100644 --- a/engines/mads/action.h +++ b/engines/mads/action.h @@ -88,6 +88,7 @@ public: MADSActionSavedFields _savedFields; bool _walkFlag; bool _savedSelectedRow; + bool _savedLookFlag; // Unknown fields int16 _v86F3A; diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp index 1ee1990cdd..d12c2d78d2 100644 --- a/engines/mads/nebular/nebular_scenes1.cpp +++ b/engines/mads/nebular/nebular_scenes1.cpp @@ -257,6 +257,11 @@ void Scene103::preActions() { } void Scene103::actions() { + if (_action._savedLookFlag) { + Dialog::show(0x2852); + } + + _action._inProgress = false; } void Scene103::postActions() { -- cgit v1.2.3