diff options
author | Gregory Montoir | 2004-12-28 17:20:21 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-12-28 17:20:21 +0000 |
commit | 82303305870c470cde6604ca0be5b57d9ee1d742 (patch) | |
tree | e76ac9ce30c0651cce54c5e8554d322c9a0aaa92 /queen/queen.cpp | |
parent | 3cfbc4082bdc0233fd4440695e6eb11aacc97ece (diff) | |
download | scummvm-rg350-82303305870c470cde6604ca0be5b57d9ee1d742.tar.gz scummvm-rg350-82303305870c470cde6604ca0be5b57d9ee1d742.tar.bz2 scummvm-rg350-82303305870c470cde6604ca0be5b57d9ee1d742.zip |
slightly less hackish Journal code
svn-id: r16357
Diffstat (limited to 'queen/queen.cpp')
-rw-r--r-- | queen/queen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp index be15850202..275d7464ed 100644 --- a/queen/queen.cpp +++ b/queen/queen.cpp @@ -115,10 +115,10 @@ void QueenEngine::registerDefaultSettings() { void QueenEngine::checkOptionSettings() { // check talkspeed value - if (_talkSpeed < 4) { - _talkSpeed = 4; - } else if (_talkSpeed > 95) { - _talkSpeed = 100; + if (_talkSpeed < MIN_TEXT_SPEED) { + _talkSpeed = MIN_TEXT_SPEED; + } else if (_talkSpeed > MAX_TEXT_SPEED) { + _talkSpeed = MAX_TEXT_SPEED; } // ensure text is always on when voice is off |