diff options
author | Eugene Sandulenko | 2006-06-11 20:29:07 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-06-11 20:29:07 +0000 |
commit | fd7e9847fcfa79fe8a76f97b720956a59b91d8c2 (patch) | |
tree | a2d5cb5d640b41811ad3fd905aa634dedde0503b | |
parent | c5f20f176463a8fe17a120dbb2436141df9a0b4b (diff) | |
download | scummvm-rg350-fd7e9847fcfa79fe8a76f97b720956a59b91d8c2.tar.gz scummvm-rg350-fd7e9847fcfa79fe8a76f97b720956a59b91d8c2.tar.bz2 scummvm-rg350-fd7e9847fcfa79fe8a76f97b720956a59b91d8c2.zip |
Removed commented-out subtitles-related code. Requested by salty-horse.
svn-id: r23030
-rw-r--r-- | engines/scumm/scumm.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 7fe28facd6..04ccac9818 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1509,23 +1509,10 @@ void ScummEngine::updateSoundSettings() { } void ScummEngine::setTalkspeed(int talkspeed) { - /*if (talkspeed != 0) - if (talkspeed == 9) - talkspeed = 255; - else - talkspeed = (int)(talkspeed * 255.0 / 9.0 + 0.5);*/ ConfMan.setInt("talkspeed", (talkspeed * 255 + 9 / 2) / 9); } int ScummEngine::getTalkspeed() { - /*int talkspeed = ConfMan.getInt("talkspeed"); - - if (talkspeed != 0) - if (talkspeed == 255) - talkspeed = 9; - else - talkspeed = (int)(talkspeed * 9.0 / 255.0 + 0.5); - return talkspeed;*/ return (ConfMan.getInt("talkspeed") * 9 + 255 / 2) / 255; } |