[Scummvm-git-logs] scummvm master -> 5d17b28de71334064d9fa26971b748d0589140ba

bluegr noreply at scummvm.org
Thu Jul 18 00:02:11 UTC 2024


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:
5d17b28de7 DGDS: Add another exception for a global variable in HoC scene 21


Commit: 5d17b28de71334064d9fa26971b748d0589140ba
    https://github.com/scummvm/scummvm/commit/5d17b28de71334064d9fa26971b748d0589140ba
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-07-18T03:02:02+03:00

Commit Message:
DGDS: Add another exception for a global variable in HoC scene 21

Changed paths:
    engines/dgds/globals.cpp


diff --git a/engines/dgds/globals.cpp b/engines/dgds/globals.cpp
index 91c96f6b2ad..f67f32b8692 100644
--- a/engines/dgds/globals.cpp
+++ b/engines/dgds/globals.cpp
@@ -92,6 +92,12 @@ int16 Globals::getGlobal(uint16 num) {
 			return global->get();
 	}
 
+	if (num == 333) {
+		// Bug in HoC (scene 21)?
+		warning("getGlobal: requested global 333");
+		return 0;
+	}
+
 	if (num)
 		error("getGlobal: requested non-existing global %d", num);
 




More information about the Scummvm-git-logs mailing list