Using getChild() with getChild() throws an assertion (a regression of the latest FS node changes). Commenting out this line with a FIXME so that SAGA games can work once again under Windows

svn-id: r34855
This commit is contained in:
Filippos Karapetis 2008-10-26 18:40:59 +00:00
parent b7a219ebc6
commit c03f0219ca

View File

@ -102,7 +102,10 @@ SagaEngine::SagaEngine(OSystem *syst, const SAGAGameDescription *gameDesc)
// The Multi-OS version puts the voices file in the root directory of
// the CD. The rest of the data files are in game/itedata
Common::File::addDefaultDirectory(_gameDataDir.getChild("game").getChild("itedata"));
// FIXME: This stops games from working under Windows. An assert is thrown when
// starting the games (_realNode is null in FSNode::getPath() in common/fs.cpp line 113)
// Commenting it out for now
//Common::File::addDefaultDirectory(_gameDataDir.getChild("game").getChild("itedata"));
// Mac CD Wyrmkeep
Common::File::addDefaultDirectory(_gameDataDir.getChild("patch"));