aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2006-06-11 20:29:07 +0000
committerEugene Sandulenko2006-06-11 20:29:07 +0000
commitfd7e9847fcfa79fe8a76f97b720956a59b91d8c2 (patch)
treea2d5cb5d640b41811ad3fd905aa634dedde0503b /engines
parentc5f20f176463a8fe17a120dbb2436141df9a0b4b (diff)
downloadscummvm-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
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/scumm.cpp13
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;
}