aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorStrangerke2014-04-24 07:14:14 +0200
committerStrangerke2014-04-24 07:14:58 +0200
commit26b7deb6106ded2d68ecb4feb4a484b3313b7af2 (patch)
tree22a8c1e36707f4c0a97087aaabc08cda206588e8 /engines/mads/nebular
parentba34b1f8823e9e39a6d9c5bed76f10910d8c65ec (diff)
downloadscummvm-rg350-26b7deb6106ded2d68ecb4feb4a484b3313b7af2.tar.gz
scummvm-rg350-26b7deb6106ded2d68ecb4feb4a484b3313b7af2.tar.bz2
scummvm-rg350-26b7deb6106ded2d68ecb4feb4a484b3313b7af2.zip
MADS: Fix bugs in scene 307
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/nebular_scenes3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes3.cpp b/engines/mads/nebular/nebular_scenes3.cpp
index b0b837bd6f..6f22b7b7b4 100644
--- a/engines/mads/nebular/nebular_scenes3.cpp
+++ b/engines/mads/nebular/nebular_scenes3.cpp
@@ -821,7 +821,7 @@ void Scene307::step() {
if (_prisonerMessageId > 0x10A)
_prisonerMessageId = 0x104;
} else if (_globals[kKnowsBuddyBeast] && (_vm->getRandomNumber(1, 3) == 1)) {
- if (_globals[kKnowsBuddyBeast] && (dialog2.read(0) > 1) && (_vm->getRandomNumber(1, 3) == 1)) {
+ if (_globals[kKnowsBuddyBeast] && (dialog2.read(0)) && (_vm->getRandomNumber(1, 3) == 1)) {
int idx = _scene->_kernelMessages.add(Common::Point(5, 51), 0xFDFC, 0, 81, 120, _game.getQuote(267));
_scene->_kernelMessages.setQuoted(idx, 4, true);
}