From e11787a494a2a7def5be1ba41cc4002de81f0c7e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 19 Aug 2004 15:53:15 +0000 Subject: No need to manually check inside extrapath -- this is done automatically anyway svn-id: r14644 --- sword1/resman.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sword1') diff --git a/sword1/resman.cpp b/sword1/resman.cpp index 69f7bb5a53..c6636a6b43 100644 --- a/sword1/resman.cpp +++ b/sword1/resman.cpp @@ -251,12 +251,6 @@ File *ResMan::openClusterFile(uint32 id) { char fileName[15]; sprintf(fileName, "%s.CLU", _prj.clu[(id >> 24)-1]->label); clusFile->open(fileName); - if (!clusFile->isOpen()) { - // Uh-uh, file not found. Perhaps we're playing straight from CD2, - // and its looking for something like SCRIPTS.CLU. Check the Extra Path. - const Common::String ePath = ConfMan.get("extrapath"); - clusFile->open(fileName, File::kFileReadMode, ePath.c_str()); - } if (!clusFile->isOpen()) { char msg[512]; -- cgit v1.2.3