[Scummvm-git-logs] scummvm branch-2-7 -> 92f6e6d630d76f8100393deb9fe0c8c24684658b
bluegr
noreply at scummvm.org
Sun May 14 09:18:43 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
92f6e6d630 XEEN: fix crash in MM4 ending cutscene
Commit: 92f6e6d630d76f8100393deb9fe0c8c24684658b
https://github.com/scummvm/scummvm/commit/92f6e6d630d76f8100393deb9fe0c8c24684658b
Author: Alexander Izmailov (yarolig at gmail.com)
Date: 2023-05-14T12:18:39+03:00
Commit Message:
XEEN: fix crash in MM4 ending cutscene
Changed paths:
engines/xeen/worldofxeen/clouds_cutscenes.cpp
diff --git a/engines/xeen/worldofxeen/clouds_cutscenes.cpp b/engines/xeen/worldofxeen/clouds_cutscenes.cpp
index 4f1657fd5af..85815588602 100644
--- a/engines/xeen/worldofxeen/clouds_cutscenes.cpp
+++ b/engines/xeen/worldofxeen/clouds_cutscenes.cpp
@@ -688,6 +688,7 @@ bool CloudsCutscenes::showCloudsEnding2() {
WAIT(5);
Graphics::ManagedSurface savedBg;
+ savedBg.create(screen.w, screen.h, screen.format);
savedBg.blitFrom(screen);
// Close up of King Roland
@@ -767,6 +768,7 @@ bool CloudsCutscenes::showCloudsEnding3() {
// Zooming into the mirror
screen.freePages();
+ savedBg.create(screen.w, screen.h, screen.format);
savedBg.blitFrom(screen);
const int XLIST3[9] = { 0, -5, -10, -15, -24, -30, -39, -50, -59 };
More information about the Scummvm-git-logs
mailing list