[Scummvm-git-logs] scummvm master -> 7cc566746b30648ac18d8dc054c4aac673729683

tnm23 noreply at scummvm.org
Tue Aug 26 18:22:18 UTC 2025


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:
7cc566746b ZVISION: Fix bug causing rendering errors in Zork Grand Inquisitor room th20 (infinite hallway)


Commit: 7cc566746b30648ac18d8dc054c4aac673729683
    https://github.com/scummvm/scummvm/commit/7cc566746b30648ac18d8dc054c4aac673729683
Author: Thomas N McEwan (46427621+tnm23 at users.noreply.github.com)
Date: 2025-08-26T19:21:52+01:00

Commit Message:
ZVISION: Fix bug causing rendering errors in Zork Grand Inquisitor room th20 (infinite hallway)

Changed paths:
    engines/zvision/scripting/script_manager.cpp


diff --git a/engines/zvision/scripting/script_manager.cpp b/engines/zvision/scripting/script_manager.cpp
index 62a41646a59..2f9904fe1c6 100644
--- a/engines/zvision/scripting/script_manager.cpp
+++ b/engines/zvision/scripting/script_manager.cpp
@@ -255,7 +255,7 @@ bool ScriptManager::checkPuzzleCriteria(Puzzle *puzzle, uint counter) {
 	if (counter == 0 && (getStateFlag(puzzle->key) & Puzzle::DO_ME_NOW) == 0) {
 		return true;
 	}
-	
+
 	// WORKAROUNDS:
 	switch (_engine->getGameId()) {
 	case GID_NEMESIS:
@@ -654,7 +654,7 @@ void ScriptManager::ChangeLocationReal(bool isLoading) {
 		}
 	}
 
-	// _engine->setRenderDelay(2); // TODO: Uncertain if this is necessary; doesn't seem to cause any problems when disabled, but keep an eye on it.
+	 _engine->setRenderDelay(2); // Necessary to ensure proper redraw in certain locations, in particular the infinite corridor in Zork Grand Inquisitor (room th20)
 
 	if (!leavingMenu) {
 		if (!isLoading && !enteringMenu) {




More information about the Scummvm-git-logs mailing list