SCI: Fix compilation following recent AdvancedMetaEngine changes

This commit is contained in:
Thierry Crozat 2020-12-04 23:02:43 +00:00
parent 03b98c0242
commit 4ed344b111

View file

@ -322,8 +322,7 @@ Common::Error SciMetaEngine::createInstance(OSystem *syst, Engine **engine, cons
if (0 == strcmp(desc->gameId, g->gameidStr)) {
#ifndef ENABLE_SCI32
if (g->isSci32) {
Engine::errorUnsupportedGame(_("SCI32 support not compiled in"));
return false;
return Common::Error(Common::kUnsupportedGameidError, _s("SCI32 support not compiled in"));
}
#endif