From 1b20b430319c8cbc02e101da33ff3e4f44f9feef Mon Sep 17 00:00:00 2001 From: Christoph Sommer Date: Sun, 11 May 2008 16:39:45 +0000 Subject: [PATCH] Stupid copy/paste bug. The archiveDir is, of course, not static SVN-Revision: 5459 --- src/addon/addon_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addon/addon_manager.cpp b/src/addon/addon_manager.cpp index 695e181e7..4a783d8cb 100644 --- a/src/addon/addon_manager.cpp +++ b/src/addon/addon_manager.cpp @@ -349,7 +349,7 @@ AddonManager::load_addons() // get filename of potential archive std::string fileName = *i; - static const std::string archiveDir = PHYSFS_getRealDir(fileName.c_str()); + const std::string archiveDir = PHYSFS_getRealDir(fileName.c_str()); static const std::string dirSep = PHYSFS_getDirSeparator(); std::string fullFilename = archiveDir + dirSep + fileName; -- 2.11.0