[Scummvm-git-logs] scummvm master -> 93680472d63f4d24f2f2308cd6a199b2f84746ab

bluegr noreply at scummvm.org
Sun May 14 09:17:18 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:
93680472d6 XEEN: Fix crash in MM4 ending cutscene


Commit: 93680472d63f4d24f2f2308cd6a199b2f84746ab
    https://github.com/scummvm/scummvm/commit/93680472d63f4d24f2f2308cd6a199b2f84746ab
Author: Alexander Izmailov (yarolig at gmail.com)
Date: 2023-05-14T12:17:14+03:00

Commit Message:
XEEN: Fix crash in MM4 ending cutscene

Changed paths:
    engines/mm/xeen/worldofxeen/clouds_cutscenes.cpp


diff --git a/engines/mm/xeen/worldofxeen/clouds_cutscenes.cpp b/engines/mm/xeen/worldofxeen/clouds_cutscenes.cpp
index f6fcceeaa50..d610ffb9c33 100644
--- a/engines/mm/xeen/worldofxeen/clouds_cutscenes.cpp
+++ b/engines/mm/xeen/worldofxeen/clouds_cutscenes.cpp
@@ -689,6 +689,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
@@ -768,6 +769,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