[Scummvm-git-logs] scummvm master -> 4248c257f357d671e4a7e4b681ee96be3b9b543d
bluegr
noreply at scummvm.org
Mon May 18 17:41:24 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:
4248c257f3 NANCY: Extend quizpuzzle workaround to scene 6441 as well
Commit: 4248c257f357d671e4a7e4b681ee96be3b9b543d
https://github.com/scummvm/scummvm/commit/4248c257f357d671e4a7e4b681ee96be3b9b543d
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-05-18T20:41:15+03:00
Commit Message:
NANCY: Extend quizpuzzle workaround to scene 6441 as well
Fix #16785
Changed paths:
engines/nancy/action/puzzle/quizpuzzle.cpp
diff --git a/engines/nancy/action/puzzle/quizpuzzle.cpp b/engines/nancy/action/puzzle/quizpuzzle.cpp
index 65c6a86ab3a..2a3ffcdc6a9 100644
--- a/engines/nancy/action/puzzle/quizpuzzle.cpp
+++ b/engines/nancy/action/puzzle/quizpuzzle.cpp
@@ -43,7 +43,8 @@ QuizPuzzle::~QuizPuzzle() {
void QuizPuzzle::init() {
Common::Rect screenClip = NancySceneState.getViewport().getBounds();
- if (g_nancy->getGameType() == kGameTypeNancy9 && NancySceneState.getSceneInfo().sceneID == 6443)
+ const uint16 sceneId = NancySceneState.getSceneInfo().sceneID;
+ if (g_nancy->getGameType() == kGameTypeNancy9 && (sceneId == 6441 || sceneId == 6443))
screenClip.right += 20; // WORKAROUND for chess puzzle in Nancy 9: the rightmost answer box is partially off-screen
_screenPosition = screenClip;
_drawSurface.create(screenClip.width(), screenClip.height(), g_nancy->_graphics->getInputPixelFormat());
More information about the Scummvm-git-logs
mailing list