[Scummvm-git-logs] scummvm master -> 342afd9ee21937580d9e4edf610af8a438bb6d19
grisenti
noreply at scummvm.org
Tue Dec 19 18:33:03 UTC 2023
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:
342afd9ee2 HPL1: Add missing return
Commit: 342afd9ee21937580d9e4edf610af8a438bb6d19
https://github.com/scummvm/scummvm/commit/342afd9ee21937580d9e4edf610af8a438bb6d19
Author: grisenti (emanuele at grisenti.net)
Date: 2023-12-19T19:31:09+01:00
Commit Message:
HPL1: Add missing return
Changed paths:
engines/hpl1/penumbra-overture/PreMenu.cpp
diff --git a/engines/hpl1/penumbra-overture/PreMenu.cpp b/engines/hpl1/penumbra-overture/PreMenu.cpp
index b9550e24aaa..157f3eb1a1b 100644
--- a/engines/hpl1/penumbra-overture/PreMenu.cpp
+++ b/engines/hpl1/penumbra-overture/PreMenu.cpp
@@ -79,6 +79,7 @@ void cPreMenu::LoadConfig() {
if (pXmlDoc->LoadFile() == false) {
Error("Couldn't load XML document 'config/startup.cfg'\n");
hplDelete(pXmlDoc);
+ return;
}
////////////////////////////////////////////////
More information about the Scummvm-git-logs
mailing list