From c03f0219cab5fa156c3e81fbaa9d09747a4bafa3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 26 Oct 2008 18:40:59 +0000 Subject: [PATCH] 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 --- engines/saga/saga.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 7904e60d1c7..14ce2855ac5 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -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"));