diff options
author | Paul Gilbert | 2014-03-22 15:55:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-22 15:55:50 -0400 |
commit | ef152fa2ba5d6e7040434415f5e472da3abc6c5f (patch) | |
tree | 415fbacd520372961eda38e4062d46506364c992 | |
parent | 265fbce3dd086cb643b46b5f66790738d9f61bc3 (diff) | |
download | scummvm-rg350-ef152fa2ba5d6e7040434415f5e472da3abc6c5f.tar.gz scummvm-rg350-ef152fa2ba5d6e7040434415f5e472da3abc6c5f.tar.bz2 scummvm-rg350-ef152fa2ba5d6e7040434415f5e472da3abc6c5f.zip |
MADS: Added _savedLookFlag to MADSAction
-rw-r--r-- | engines/mads/action.cpp | 1 | ||||
-rw-r--r-- | engines/mads/action.h | 1 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes1.cpp | 5 |
3 files changed, 7 insertions, 0 deletions
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() { |