projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c686b6e
)
Stupid copy/paste bug. The archiveDir is, of course, not static
author
Christoph Sommer
<mail@christoph-sommer.de>
Sun, 11 May 2008 16:39:45 +0000
(16:39 +0000)
committer
Christoph Sommer
<mail@christoph-sommer.de>
Sun, 11 May 2008 16:39:45 +0000
(16:39 +0000)
SVN-Revision: 5459
src/addon/addon_manager.cpp
patch
|
blob
|
history
diff --git
a/src/addon/addon_manager.cpp
b/src/addon/addon_manager.cpp
index
695e181
..
4a783d8
100644
(file)
--- 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;