diff --git a/game/engines/default/engine/Module.lua b/game/engines/default/engine/Module.lua index 9c3bc815ea881eeba28351ca8c8ba3ddbf1cda91..d78deb3531953a821e55d60464fd4e630c576b15 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 111091141c3e5be35d366fc16db8b7824751ed2a..7845e752e65dcb5b373f57199991908774bf85ed 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 cd385cc250358e6c8b83800bf91d255fa1aaa578..6226487b0273053fd8dfb93263e661b6fe49ade2 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