aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-06-06 10:01:14 +0000
committerFilippos Karapetis2008-06-06 10:01:14 +0000
commit266cf3b760a2299501ac5fe2701780be00d81e15 (patch)
treea6654e77d6dfe5391c4f41869c7102d65720caab /engines
parentfa8981e1e2e0da48a936e4fcab59687ed34c0ede (diff)
downloadscummvm-rg350-266cf3b760a2299501ac5fe2701780be00d81e15.tar.gz
scummvm-rg350-266cf3b760a2299501ac5fe2701780be00d81e15.tar.bz2
scummvm-rg350-266cf3b760a2299501ac5fe2701780be00d81e15.zip
Cleanup
svn-id: r32574
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/talk.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/engines/drascula/talk.cpp b/engines/drascula/talk.cpp
index 108434fe9a..a6d06a4107 100644
--- a/engines/drascula/talk.cpp
+++ b/engines/drascula/talk.cpp
@@ -106,17 +106,11 @@ void DrasculaEngine::talk_igor(int index, int talkerType) {
if (withVoices == 0)
centerText(said, 87, 66);
updateScreen();
- } else if (talkerType == 3) {
- copyBackground(x_talk3[face], 109, 207, 92, 21, 23, drawSurface3, screenSurface);
- moveCharacters();
- updateRefresh();
- if (withVoices == 0)
- centerText(said, 221, 102);
-
- updateScreen();
- pause(3);
- } else if (talkerType == 4) {
- copyBackground(x_talk4[face], 78, 199, 94, 38, 27, drawSurface3, screenSurface);
+ } else if (talkerType == 3 || talkerType == 4) {
+ if (talkerType == 3)
+ copyBackground(x_talk3[face], 109, 207, 92, 21, 23, drawSurface3, screenSurface);
+ else
+ copyBackground(x_talk4[face], 78, 199, 94, 38, 27, drawSurface3, screenSurface);
moveCharacters();
updateRefresh();
if (withVoices == 0)