CLOUD: Fix SaveLoadDialogs to check USE_CLOUD

Linking was failing when disabling curl support.
This commit is contained in:
Alexander Tkachev 2016-07-05 13:30:24 +06:00
parent ad069f442c
commit 81c85b6651
3 changed files with 27 additions and 1 deletions

View file

@ -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