From: Christoph Sommer Date: Sun, 11 May 2008 16:39:45 +0000 (+0000) Subject: Stupid copy/paste bug. The archiveDir is, of course, not static X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1b20b430319c8cbc02e101da33ff3e4f44f9feef;p=supertux.git Stupid copy/paste bug. The archiveDir is, of course, not static SVN-Revision: 5459 --- 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;