AGI: Proper handling of the cancel button when saving/loading
This commit is contained in:
parent
ec1070678c
commit
d6bedc8a36
1 changed files with 3 additions and 0 deletions
|
@ -831,6 +831,9 @@ int AgiEngine::scummVMSaveLoadDialog(bool isSave) {
|
|||
|
||||
delete dialog;
|
||||
|
||||
if (slot < 0)
|
||||
return true;
|
||||
|
||||
if (isSave)
|
||||
return doSave(slot, desc);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue