aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/hotspots.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-03 22:02:12 -0400
committerPaul Gilbert2014-04-03 22:02:12 -0400
commitd163ee088a9f3e49463fddd05a41d1b1530e77db (patch)
tree9d8612506d79664944c012a743b3122e7fdcad49 /engines/mads/hotspots.cpp
parent83ac9489231e164154ad812034eb6aac9a0fe78b (diff)
downloadscummvm-rg350-d163ee088a9f3e49463fddd05a41d1b1530e77db.tar.gz
scummvm-rg350-d163ee088a9f3e49463fddd05a41d1b1530e77db.tar.bz2
scummvm-rg350-d163ee088a9f3e49463fddd05a41d1b1530e77db.zip
MADS: Renamings for saving fields in MADSAction::startAction
Diffstat (limited to 'engines/mads/hotspots.cpp')
-rw-r--r--engines/mads/hotspots.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/hotspots.cpp b/engines/mads/hotspots.cpp
index 22e4feb8b0..fec1f6ef96 100644
--- a/engines/mads/hotspots.cpp
+++ b/engines/mads/hotspots.cpp
@@ -131,9 +131,9 @@ void DynamicHotspots::refresh() {
DynamicHotspot &dh = (*this)[i];
if ((*this)[i]._active) {
- switch (scrObjects._v832EC) {
- case 0:
- case 2:
+ switch (scrObjects._inputMode) {
+ case kInputBuildingSentences:
+ case kInputLimitedSentences:
scrObjects.add(dh._bounds, _vm->_game->_scene._layer, CAT_12, dh._descId);
scrObjects._v8333C = true;
break;