[Scummvm-git-logs] scummvm master -> ed2345fad610a5f1e8fecbb59c4ad224b5668c83
sev-
sev at scummvm.org
Sat Aug 14 13:33:37 UTC 2021
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:
ed2345fad6 AGOS: Use different save name for Simon1 demo. Bugreport #12787
Commit: ed2345fad610a5f1e8fecbb59c4ad224b5668c83
https://github.com/scummvm/scummvm/commit/ed2345fad610a5f1e8fecbb59c4ad224b5668c83
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-08-14T15:33:22+02:00
Commit Message:
AGOS: Use different save name for Simon1 demo. Bugreport #12787
Changed paths:
engines/agos/saveload.cpp
diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp
index e797b14ebb..2e9140116c 100644
--- a/engines/agos/saveload.cpp
+++ b/engines/agos/saveload.cpp
@@ -85,7 +85,10 @@ Common::String AGOSEngine_Simon2::genSaveName(int slot) const {
}
Common::String AGOSEngine_Simon1::genSaveName(int slot) const {
- return Common::String::format("simon1.%.3d", slot);
+ if (_gameDescription->desc.flags & ADGF_DEMO)
+ return Common::String::format("simon1-demo.%.3d", slot);
+ else
+ return Common::String::format("simon1.%.3d", slot);
}
Common::String AGOSEngine_Waxworks::genSaveName(int slot) const {
More information about the Scummvm-git-logs
mailing list