aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorJonathan Gray2003-08-22 06:39:18 +0000
committerJonathan Gray2003-08-22 06:39:18 +0000
commit5018d206bcb6ab216e42a7c6c353cddbf10b95b9 (patch)
tree08885d86cd88c6710b43dae48217fbbdfac6776a /sword2
parentabf7f33dc463c8515ae236ec1e8c6284aa7f6344 (diff)
downloadscummvm-rg350-5018d206bcb6ab216e42a7c6c353cddbf10b95b9.tar.gz
scummvm-rg350-5018d206bcb6ab216e42a7c6c353cddbf10b95b9.tar.bz2
scummvm-rg350-5018d206bcb6ab216e42a7c6c353cddbf10b95b9.zip
stop bs2 trying to cache clusters
svn-id: r9815
Diffstat (limited to 'sword2')
-rw-r--r--sword2/resman.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index 121dca1ed3..d1c661cc4a 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -333,6 +333,7 @@ uint8 *resMan::Res_open( uint32 res ) //BHTony30May96
// ** at this point here we start to think about where the file is and prompt the user for the right CD to be inserted **
// ** we need to know the position that we're at within the game - LINC should write this someplace.
+/* these probably aren't necessary - khalek
if (!(cdTab[parent_res_file] & LOCAL_CACHE) && !(cdTab[parent_res_file] & LOCAL_PERM))
{
@@ -343,7 +344,7 @@ uint8 *resMan::Res_open( uint32 res ) //BHTony30May96
{
GetCd(cdTab[parent_res_file] & 3); // Makes sure that the correct CD is in the drive.
}
-
+*/
//open the cluster file
if (file.open(resource_files[parent_res_file], g_sword2->getGameDataPath()) == false)
Con_fatal_error("Res_open cannot *OPEN* %s", resource_files[parent_res_file]);