COMMON: fix bug no. 13703 (KYRA: Legend of Kyrandia 3: Problem with autosave)
The warning message was only based on the description of the autosave file. And that description depended on the GUI language setting, since it is a string that gets translated. Now we also query the _saveType that is set by the metaengine...
This commit is contained in:
parent
d09cfe29eb
commit
5ac3e22c0d
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ void Engine::handleAutoSave() {
|
|||
bool Engine::warnBeforeOverwritingAutosave() {
|
||||
SaveStateDescriptor desc = getMetaEngine()->querySaveMetaInfos(
|
||||
_targetName.c_str(), getAutosaveSlot());
|
||||
if (!desc.isValid() || desc.hasAutosaveName())
|
||||
if (!desc.isValid() || desc.isAutosave())
|
||||
return true;
|
||||
Common::U32StringArray altButtons;
|
||||
altButtons.push_back(_("Overwrite"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue