diff options
-rw-r--r-- | engines/drascula/animation.cpp | 18 | ||||
-rw-r--r-- | engines/drascula/talk.cpp | 4 |
2 files changed, 11 insertions, 11 deletions
diff --git a/engines/drascula/animation.cpp b/engines/drascula/animation.cpp index 14d73ddd3d..cdc2f1ea8b 100644 --- a/engines/drascula/animation.cpp +++ b/engines/drascula/animation.cpp @@ -2480,20 +2480,18 @@ void DrasculaEngine::animation_5_2() { copyBackground(1, 1, 213, 66, 53,84, backSurface, screenSurface); updateScreen(); - // FIXME: the widths in these calls were 53 and 52 (by mistake, probably). - // I've set them to 53, but if any problems arise, we should try 52 as well - updateAnim(1, 213, 66, 53, 84, 6, backSurface); - updateAnim(86, 213, 66, 53, 84, 6, backSurface); - updateAnim(1, 213, 66, 53, 84, 6, extraSurface); - updateAnim(1, 213, 66, 53, 84, 6, extraSurface); - updateAnim(86, 213, 66, 53, 84, 6, extraSurface); - updateAnim(1, 213, 66, 53, 84, 6, frontSurface); + updateAnim(1, 213, 66, 52, 84, 6, backSurface); + updateAnim(86, 213, 66, 52, 84, 6, backSurface); + updateAnim(1, 213, 66, 52, 84, 6, extraSurface); + updateAnim(1, 213, 66, 52, 84, 6, extraSurface); + updateAnim(86, 213, 66, 52, 84, 6, extraSurface); + updateAnim(1, 213, 66, 52, 84, 6, frontSurface); playSound(1); - updateAnim(86, 213, 66, 53, 84, 6, frontSurface); + updateAnim(86, 213, 66, 52, 84, 6, frontSurface); stopSound(); - updateAnim(1, 213, 66, 53, 84, 6, drawSurface3); + updateAnim(1, 213, 66, 52, 84, 6, drawSurface3); loadPic(994, backSurface); loadPic(974, extraSurface); diff --git a/engines/drascula/talk.cpp b/engines/drascula/talk.cpp index c273c5c5a9..9d521293f5 100644 --- a/engines/drascula/talk.cpp +++ b/engines/drascula/talk.cpp @@ -904,6 +904,7 @@ void DrasculaEngine::talk_sync(const char *said, const char *filename, const cha int y_mask_talk = 170; int p, face = 0; int length = strlen(said); + char buf[1]; color_abc(kColorYellow); @@ -917,7 +918,8 @@ void DrasculaEngine::talk_sync(const char *said, const char *filename, const cha talkInit(filename); do { - face = atoi(&syncChar[p]); + strncpy(buf, &syncChar[p], 1); + face = atoi(buf); copyBackground(0, 0, 0, 0, 320, 200, drawSurface1, screenSurface); |