diff options
author | Gregory Montoir | 2003-12-10 20:13:25 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-10 20:13:25 +0000 |
commit | a53d2c99f560cbc3bfb6b5637b7c3946976c5858 (patch) | |
tree | 8ad0cd1d359af042c2eceb3586688d5de2b01b0a /queen/talk.cpp | |
parent | 191e7ae6211a212ffcd6375faaae4cbc1361e161 (diff) | |
download | scummvm-rg350-a53d2c99f560cbc3bfb6b5637b7c3946976c5858.tar.gz scummvm-rg350-a53d2c99f560cbc3bfb6b5637b7c3946976c5858.tar.bz2 scummvm-rg350-a53d2c99f560cbc3bfb6b5637b7c3946976c5858.zip |
get rid of GameConfig, use ConfigurationManager
svn-id: r11555
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 94a9adde6a..74f90f8751 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -677,6 +677,7 @@ exit: return personWalking; } +// cyx : there is a similar function in Cutaway, what about merging them ? int Talk::countSpaces(const char *segment) { int tmp = 0; @@ -686,7 +687,7 @@ int Talk::countSpaces(const char *segment) { if (tmp < 10) tmp = 10; - return (tmp * 2) / _logic->talkSpeed(); + return (tmp * 2) / (_logic->talkSpeed() / 3); } void Talk::headStringAnimation(const SpeechParameters *parameters, int bobNum, int bankNum) { |