diff options
author | Denis Kasak | 2009-07-02 10:31:56 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-02 10:31:56 +0000 |
commit | fed2281125f862f6f0356d8d40642a90ce772394 (patch) | |
tree | 2e6dbdd82848146f200ac9e1d97ae7db9a6c8805 /engines | |
parent | d47ab6ae987cd01d1d0b87a54e226b3eaae89b24 (diff) | |
download | scummvm-rg350-fed2281125f862f6f0356d8d40642a90ce772394.tar.gz scummvm-rg350-fed2281125f862f6f0356d8d40642a90ce772394.tar.bz2 scummvm-rg350-fed2281125f862f6f0356d8d40642a90ce772394.zip |
Make the meta engine pass the pointer to the detected version and not the whole ADGameDescription table.
svn-id: r42018
Diffstat (limited to 'engines')
-rw-r--r-- | engines/draci/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp index d01fb30d1c..b8aeb11200 100644 --- a/engines/draci/detection.cpp +++ b/engines/draci/detection.cpp @@ -121,7 +121,7 @@ bool Draci::DraciEngine::hasFeature(EngineFeature f) const { bool DraciMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const { if (desc) { - *engine = new Draci::DraciEngine(syst, Draci::gameDescriptions); + *engine = new Draci::DraciEngine(syst, desc); } return desc != 0; } |