[Scummvm-git-logs] scummvm master -> bcc1e9f9ae69b55eafe5d974a3d3a1d4611394a3

athrxx noreply at scummvm.org
Thu Mar 5 18:57:41 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
bcc1e9f9ae KYRA: EOB: fix compass after spellbook abort


Commit: bcc1e9f9ae69b55eafe5d974a3d3a1d4611394a3
    https://github.com/scummvm/scummvm/commit/bcc1e9f9ae69b55eafe5d974a3d3a1d4611394a3
Author: Bradley Bell (bradley.bell at gmail.com)
Date: 2026-03-05T19:57:35+01:00

Commit Message:
KYRA: EOB: fix compass after spellbook abort

gui_drawCompass() here is generating the correct view, but is only
being called after the screen update. Move the screen update to after
the compass draw, and the button updates as well.

Fixes: https://bugs.scummvm.org/ticket/16590

Changed paths:
    engines/kyra/gui/gui_eob.cpp


diff --git a/engines/kyra/gui/gui_eob.cpp b/engines/kyra/gui/gui_eob.cpp
index a0436523221..185a5b7f5f9 100644
--- a/engines/kyra/gui/gui_eob.cpp
+++ b/engines/kyra/gui/gui_eob.cpp
@@ -1343,9 +1343,9 @@ int EoBCoreEngine::clickedSpellbookAbort(Button *button) {
 	_screen->fillRect(64, 121, 175, 176, 0, 0);
 	_screen->fillRect(64, 121, 175, 176, 0, 2);
 	_screen->copyRegion(0, 0, 64, _flags.platform == Common::kPlatformSegaCD ? 120 : 121, 112, 56, Screen_EoB::kSpellbookBackupPage, 0, Screen::CR_NO_P_CHECK);
-	_screen->updateScreen();
 	gui_drawCompass(true);
 	gui_toggleButtons();
+	_screen->updateScreen();
 	return button->index;
 }
 




More information about the Scummvm-git-logs mailing list