[Scummvm-git-logs] scummvm master -> 5462b04534e6081d111abe778d90d38a82ac318f
grisenti
noreply at scummvm.org
Mon Nov 27 21:21:45 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:
5462b04534 HPL1: Don't use slot 0 for game saves
Commit: 5462b04534e6081d111abe778d90d38a82ac318f
https://github.com/scummvm/scummvm/commit/5462b04534e6081d111abe778d90d38a82ac318f
Author: grisenti (emanuele at grisenti.net)
Date: 2023-11-27T22:21:34+01:00
Commit Message:
HPL1: Don't use slot 0 for game saves
Changed paths:
engines/hpl1/hpl1.cpp
diff --git a/engines/hpl1/hpl1.cpp b/engines/hpl1/hpl1.cpp
index 1e52f51ad20..8925e4aa46f 100644
--- a/engines/hpl1/hpl1.cpp
+++ b/engines/hpl1/hpl1.cpp
@@ -89,7 +89,7 @@ void Hpl1Engine::pauseEngineIntern(bool pause) {
}
static Common::String freeSaveSlot(const Engine *engine, const int maxSaves) {
- for (int i = 0; i < maxSaves; ++i) {
+ for (int i = 1; i < maxSaves; ++i) {
const Common::String name = engine->getSaveStateName(i);
if (!g_system->getSavefileManager()->exists(name))
return name;
More information about the Scummvm-git-logs
mailing list