mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Fixed the animation where the window is broken by the spear outside the church
svn-id: r32542
This commit is contained in:
parent
f21a15cbbb
commit
b0eb20b4b8
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user