aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-05-16 03:40:43 +0300
committerFilippos Karapetis2014-05-16 03:41:12 +0300
commit655233bdfbb7412aa2070d3d9bd76b28e395c38e (patch)
tree62260712ff3e422aaeb81ec1d42a558f6adb121a
parent80bac656ab0173c4f644a7ff961e8611a31e8430 (diff)
downloadscummvm-rg350-655233bdfbb7412aa2070d3d9bd76b28e395c38e.tar.gz
scummvm-rg350-655233bdfbb7412aa2070d3d9bd76b28e395c38e.tar.bz2
scummvm-rg350-655233bdfbb7412aa2070d3d9bd76b28e395c38e.zip
MADS: Fix bug when watching the meteorologist through the binoculars
-rw-r--r--engines/mads/nebular/nebular_scenes.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes.cpp b/engines/mads/nebular/nebular_scenes.cpp
index 3d26a41497..8053818d4e 100644
--- a/engines/mads/nebular/nebular_scenes.cpp
+++ b/engines/mads/nebular/nebular_scenes.cpp
@@ -582,7 +582,10 @@ bool SceneTeleporter::teleporterActions() {
}
void SceneTeleporter::teleporterStep() {
- if ((_globals[kMeteorologistWatch] != METEOROLOGIST_NORMAL) && (_game._trigger >= 230)) {
+ if (_globals[kMeteorologistWatch] == METEOROLOGIST_NORMAL)
+ return;
+
+ if (_game._trigger >= 230) {
int place = _game._trigger - 230;
int digit;