aboutsummaryrefslogtreecommitdiff
path: root/gui/saveload.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-05 13:30:24 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit81c85b6651fcb4ba2f1dc0ba2955e34cb541fc35 (patch)
tree980057e919213c41739aeb12e4d34645dc095e2b /gui/saveload.cpp
parentad069f442ce1a042361620f30d5b313668df23c4 (diff)
downloadscummvm-rg350-81c85b6651fcb4ba2f1dc0ba2955e34cb541fc35.tar.gz
scummvm-rg350-81c85b6651fcb4ba2f1dc0ba2955e34cb541fc35.tar.bz2
scummvm-rg350-81c85b6651fcb4ba2f1dc0ba2955e34cb541fc35.zip
CLOUD: Fix SaveLoadDialogs to check USE_CLOUD
Linking was failing when disabling curl support.
Diffstat (limited to 'gui/saveload.cpp')
-rw-r--r--gui/saveload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/saveload.cpp b/gui/saveload.cpp
index b3e669899f..b08ab7fd1a 100644
--- a/gui/saveload.cpp
+++ b/gui/saveload.cpp
@@ -87,7 +87,9 @@ int SaveLoadChooser::runModalWithPluginAndTarget(const EnginePlugin *plugin, con
if (!_impl)
return -1;
+#ifdef USE_CLOUD
_impl->runSaveSync(ConfMan.hasKey("savepath", target));
+#endif
// Set up the game domain as newly active domain, so
// target specific savepath will be checked