summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-28 17:39:41 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-28 17:39:41 +0000
commit3fe829466ac7a0cd97d139c0b691813b99bddc12 (patch)
tree6fbdc5742caeea20b20dee140e1d0389aca74256
parent008105a37dc1839a325b81f0a0f269d5d4e06e16 (diff)
downloadmana-3fe829466ac7a0cd97d139c0b691813b99bddc12.tar.gz
mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.tar.bz2
mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.tar.xz
mana-3fe829466ac7a0cd97d139c0b691813b99bddc12.zip
Fix usage of a wrong dir-separator.
-rw-r--r--ChangeLog2
-rw-r--r--src/resources/resourcemanager.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d983fb3..dbc057c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,8 @@
* src/being.cpp, src/being.h, src/engine.cpp, src/game.cpp, src/game.h,
src/gui/gui.cpp, src/net/protocol.cpp: Added an action enumeration to the
Being class and removed the old #define's.
+ * src/resources/resourcemanager.cpp: Fixed a location where a wrong
+ dir-separator was used.
2005-07-27 Bjørn Lindeijer <bjorn@lindeijer.nl>
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index c757e35b..d58bf791 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -205,7 +205,7 @@ ResourceManager::searchAndAddArchives(
if (len > ext.length() && !ext.compare((*i)+(len - ext.length()))) {
std::string file, realPath, archive;
- file = path + dirSep + (*i);
+ file = path + "/" + (*i);
realPath = std::string(PHYSFS_getRealDir(file.c_str()));
archive = realPath + path + dirSep + (*i);