From 6547ef6e129fb42c75c20f24e1f24dff1458f727 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 14 Mar 2008 17:31:04 +0000 Subject: Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead) svn-id: r31121 --- engines/agos/detection.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/agos/detection.cpp') diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp index ce3e4f34de..fd56651a70 100644 --- a/engines/agos/detection.cpp +++ b/engines/agos/detection.cpp @@ -109,11 +109,11 @@ public: return "AGOS (C) Adventure Soft"; } - virtual bool createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const; + virtual bool createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const; }; -bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::EncapsulatedADGameDesc &encapsulatedDesc) const { - const AGOS::AGOSGameDescription *gd = (const AGOS::AGOSGameDescription *)(encapsulatedDesc.realDesc); +bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const { + const AGOS::AGOSGameDescription *gd = (const AGOS::AGOSGameDescription *)desc; bool res = true; switch (gd->gameType) { -- cgit v1.2.3