diff options
| author | Gregory Montoir | 2003-12-06 13:13:13 +0000 |
|---|---|---|
| committer | Gregory Montoir | 2003-12-06 13:13:13 +0000 |
| commit | 31411c9fc23f6c03c472dce627297bf3b161a652 (patch) | |
| tree | eea908c16cdd6774a044ab1935dc11700e2fa351 /queen/command.cpp | |
| parent | e943ee3785517462e12baf732a35d34892c1852d (diff) | |
| download | scummvm-rg350-31411c9fc23f6c03c472dce627297bf3b161a652.tar.gz scummvm-rg350-31411c9fc23f6c03c472dce627297bf3b161a652.tar.bz2 scummvm-rg350-31411c9fc23f6c03c472dce627297bf3b161a652.zip | |
minor cleanup, reuse some data from intervie.exe
svn-id: r11519
Diffstat (limited to 'queen/command.cpp')
| -rw-r--r-- | queen/command.cpp | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index 7ce4734a9f..e50a7ba851 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -968,24 +968,11 @@ void Command::executeStandardStuff(const Verb& action, int16 subj1, int16 subj2) _logic->joeSpeak(20); } else { - switch(Logic::randomizer.getRandomNumber(3)) { - case 0: - // 'I can't pick that up' - _logic->joeSpeak(5); - break; - case 1: - // 'I don't think I need that' - _logic->joeSpeak(6); - break; - case 2: - // 'I'd rather leave it here' - _logic->joeSpeak(7); - break; - case 3: - // 'I don't think I'd have any use for that' - _logic->joeSpeak(8); - break; - } + // 5 : 'I can't pick that up' + // 6 : 'I don't think I need that' + // 7 : 'I'd rather leave it here' + // 8 : 'I don't think I'd have any use for that' + _logic->joeSpeak(5 + Logic::randomizer.getRandomNumber(3)); } } break; |
