Mount shadow addons on top of content/, not on top of everything
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3175 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+2
-2
@@ -60,6 +60,7 @@ uio_DirHandle *contentDir;
|
||||
uio_DirHandle *configDir;
|
||||
uio_DirHandle *saveDir;
|
||||
uio_DirHandle *meleeDir;
|
||||
uio_MountHandle* contentMountHandle;
|
||||
|
||||
char baseContentPath[PATH_MAX];
|
||||
|
||||
@@ -133,7 +134,6 @@ prepareContentDir (const char *contentDirName, const char* addonDirName, const c
|
||||
{
|
||||
const char *testFile = "version";
|
||||
const char *loc;
|
||||
uio_MountHandle* contentMountHandle;
|
||||
|
||||
if (contentDirName == NULL)
|
||||
{
|
||||
@@ -548,7 +548,7 @@ prepareShadowAddons (const char **addons)
|
||||
if (shadowDir)
|
||||
{
|
||||
log_add (log_Debug, "Mounting shadow content of '%s' addon", addon);
|
||||
mountDirZips (shadowDir, "/", uio_MOUNT_TOP, NULL);
|
||||
mountDirZips (shadowDir, "/", uio_MOUNT_ABOVE, contentMountHandle);
|
||||
uio_closeDir (shadowDir);
|
||||
}
|
||||
uio_closeDir (addonDir);
|
||||
|
||||
Reference in New Issue
Block a user