[Scummvm-git-logs] scummvm master -> 326c37539073f25f83a80db8c1b449717dd4ac07
bluegr
noreply at scummvm.org
Sat Nov 16 17:18:22 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:
326c375390 BAGEL: Don't display the start dialog if saves exist in the demos
Commit: 326c37539073f25f83a80db8c1b449717dd4ac07
https://github.com/scummvm/scummvm/commit/326c37539073f25f83a80db8c1b449717dd4ac07
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-11-16T19:18:04+02:00
Commit Message:
BAGEL: Don't display the start dialog if saves exist in the demos
The demos lack the relevant start dialog resources. Fixes a crash if
saves are found demo versions
Changed paths:
engines/bagel/spacebar/spacebar.cpp
diff --git a/engines/bagel/spacebar/spacebar.cpp b/engines/bagel/spacebar/spacebar.cpp
index dc316836749..340916c7e8e 100644
--- a/engines/bagel/spacebar/spacebar.cpp
+++ b/engines/bagel/spacebar/spacebar.cpp
@@ -113,7 +113,7 @@ ErrorCode SpaceBarEngine::initialize() {
if (saveSlot != -1) {
bRestart = loadGameState(saveSlot).getCode() != Common::kNoError;
- } else if (savesExist()) {
+ } else if (savesExist() && !isDemo()) {
bRestart = false;
CBagStartDialog cDlg(buildSysDir("START.BMP"), _masterWin);
More information about the Scummvm-git-logs
mailing list