aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/closing.cpp
diff options
context:
space:
mode:
authoruruk2013-10-01 09:40:41 +0200
committeruruk2013-10-01 09:40:41 +0200
commit8408fa46c73de4923e456ee13210f171953ad820 (patch)
tree79d7f13625dda567164a12d6f10b8bd8b201cb38 /engines/avalanche/closing.cpp
parentbfb28c7a399662bca7269f9e5dbc8788b7bb4d58 (diff)
downloadscummvm-rg350-8408fa46c73de4923e456ee13210f171953ad820.tar.gz
scummvm-rg350-8408fa46c73de4923e456ee13210f171953ad820.tar.bz2
scummvm-rg350-8408fa46c73de4923e456ee13210f171953ad820.zip
AVALANCHE: Implement Dialogs::displayQuestion(), repair setSeed() and getRandomNumber() calls.
Diffstat (limited to 'engines/avalanche/closing.cpp')
-rw-r--r--engines/avalanche/closing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/closing.cpp b/engines/avalanche/closing.cpp
index 822148499a..e7314a0550 100644
--- a/engines/avalanche/closing.cpp
+++ b/engines/avalanche/closing.cpp
@@ -66,8 +66,8 @@ void Closing::exitGame() {
_vm->_sound->stopSound();
getScreen(kScreenNagScreen);
- byte nounId = _vm->_rnd->getRandomNumber(12);
- byte verbId = _vm->_rnd->getRandomNumber(12);
+ byte nounId = _vm->_rnd->getRandomNumber(11);
+ byte verbId = _vm->_rnd->getRandomNumber(11);
Common::String result = nouns[nounId] + " will " + verbs[verbId] + " you";
putIn(result, 1628);
showScreen(); // No halt- it's already set up.