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

dreammaster noreply at scummvm.org
Mon Sep 8 01:13:19 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:
5f2e7b93e6 BAGEL: DEMO: Fix accidental change to non-demo app


Commit: 5f2e7b93e6d3b7bcad00c3c76d78d291f71812a9
    https://github.com/scummvm/scummvm/commit/5f2e7b93e6d3b7bcad00c3c76d78d291f71812a9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-07T18:13:14-07:00

Commit Message:
BAGEL: DEMO: Fix accidental change to non-demo app

Changed paths:
    engines/bagel/hodjnpodj/metagame/frame/app.cpp


diff --git a/engines/bagel/hodjnpodj/metagame/frame/app.cpp b/engines/bagel/hodjnpodj/metagame/frame/app.cpp
index b4ced03f075..4bde1b34624 100644
--- a/engines/bagel/hodjnpodj/metagame/frame/app.cpp
+++ b/engines/bagel/hodjnpodj/metagame/frame/app.cpp
@@ -44,16 +44,14 @@ CTheApp::CTheApp() {
 }
 
 bool CTheApp::InitApplication() {
-	if (_startupMinigame == "mazedoom_demo") {
-		addResources("mod.exe");
-	} else if (g_engine->isDemo()) {
-		addResources("hnpdemo.exe");
-	} else if (_startupMinigame.empty()) {
+	if (_startupMinigame.empty()) {
 		// Main game
 		addResources("meta/hodjpodj.exe");
 		addResources("meta/hnpmeta.dll");
 		setDirectory("meta");
-	} else 
+	} else if (_startupMinigame == "mazedoom_demo") {
+		addResources("mod.exe");
+	}
 
 	addFontResource("msserif.fon");
 	setFocusChangeProc(focusChange);




More information about the Scummvm-git-logs mailing list