From d6f84eed45c5e6f9e3c4212ea0f748e27f2e23b1 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Sun, 24 Feb 2013 12:50:19 +0000
Subject: [PATCH] ahah

git-svn-id: http://svn.net-core.org/repos/t-engine4@6457 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/engines/default/engine/Module.lua | 8 --------
 src/physfs/archivers/subzip.c          | 3 ---
 src/physfs/physfs.c                    | 2 +-
 3 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/game/engines/default/engine/Module.lua b/game/engines/default/engine/Module.lua
index 9c3bc815ea..d78deb3531 100644
--- a/game/engines/default/engine/Module.lua
+++ b/game/engines/default/engine/Module.lua
@@ -385,14 +385,6 @@ function _M:loadAddons(mod, saveuse)
 			else fs.mount(base.."/hooks", "/hooks/"..add.short_name, true)
 			end
 
-			print("==== all path")
-			table.print(fs.getSearchPath(true))
-			print("==== hooks")
-			table.print(fs.list("/hooks"))
-			print("==== addon hooks")
-			table.print(fs.list("/hooks/"..add.short_name))
-			print("====")
-
 			self:setCurrentHookDir("/hooks/"..add.short_name.."/")
 			dofile("/hooks/"..add.short_name.."/load.lua")
 			self:setCurrentHookDir(nil)
diff --git a/src/physfs/archivers/subzip.c b/src/physfs/archivers/subzip.c
index 111091141c..7845e752e6 100644
--- a/src/physfs/archivers/subzip.c
+++ b/src/physfs/archivers/subzip.c
@@ -114,7 +114,6 @@ static void *SUBZIP_openArchive(const char *name, int forWriting)
 	int i = 0;
 	while (name != realfile) info->subdir[i++] = *(name++);
 	info->subdir[i] = '\0';
-	printf("SUBZIP: openArchive: %s : %s : %lx\n", base, info->subdir, opaque);
 	return info;
 } /* SUBZIP_openArchive */
 
@@ -135,7 +134,6 @@ char *append_assets(const char *subdir, const char *name)
 	memcpy(patched_name, subdir, sub_len);
 	memcpy(patched_name + sub_len, name, name_len);
 	patched_name[sub_len + name_len + 1 - 1] = 0;
-	printf("SUBZIP: append_assets: %s : %s :=> %s\n", subdir, name, patched_name);
 
 	return patched_name;
 }
@@ -247,7 +245,6 @@ static fvoid *SUBZIP_openRead(dvoid *opaque, const char *fnm, int *fileExists)
 	char *patched_name = append_assets(((SUBZIPinfo*)opaque)->subdir, fnm);
 
 	retval = __PHYSFS_Archiver_ZIP.openRead(((SUBZIPinfo*)opaque)->subopaque, patched_name, fileExists);
-	printf("SUBZIP: openRead: %lx : %s : %d\n", ((SUBZIPinfo*)opaque)->subopaque, patched_name, retval);
 
 	allocator.Free(patched_name);
 
diff --git a/src/physfs/physfs.c b/src/physfs/physfs.c
index cd385cc250..6226487b02 100644
--- a/src/physfs/physfs.c
+++ b/src/physfs/physfs.c
@@ -102,11 +102,11 @@ static const PHYSFS_ArchiveInfo *supported_types[] =
 static const PHYSFS_Archiver *archivers[] =
 {
     &__PHYSFS_Archiver_BIND_PHYSFS,
-    &__PHYSFS_Archiver_DIR,
 #if (defined PHYSFS_SUPPORTS_ZIP)
     &__PHYSFS_Archiver_SUBZIP,
     &__PHYSFS_Archiver_ZIP,
 #endif
+    &__PHYSFS_Archiver_DIR,
 #if (defined PHYSFS_SUPPORTS_7Z)
     &__PHYSFS_Archiver_LZMA,
 #endif
-- 
GitLab