projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
offscreen.patch by Klaus Denker: correct some calculations
[supertux.git]
/
src
/
world.cpp
diff --git
a/src/world.cpp
b/src/world.cpp
index
121718e
..
3f50e54
100644
(file)
--- a/
src/world.cpp
+++ b/
src/world.cpp
@@
-106,7
+106,7
@@
World::load(const std::string& filename)
// Level info file doesn't define any levels, so read the
// directory to see what we can find
// Level info file doesn't define any levels, so read the
// directory to see what we can find
- std::string path = basedir
+ "/"
;
+ std::string path = basedir;
char** files = PHYSFS_enumerateFiles(path.c_str());
if(!files) {
log_warning << "Couldn't read subset dir '" << path << "'" << std::endl;
char** files = PHYSFS_enumerateFiles(path.c_str());
if(!files) {
log_warning << "Couldn't read subset dir '" << path << "'" << std::endl;