summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-04 21:19:25 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-04 21:19:25 +0000
commit9eed8feb838c31368dba6cd9716f67d800bf6e3b (patch)
treebf7c9d1963a5d8ef031c6f04ef114722e299a7f0 /src/main.cpp
parent2da65e2e57b664cc45c164f08ddae3597e51fcba (diff)
downloadmana-client-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.gz
mana-client-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.bz2
mana-client-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.xz
mana-client-9eed8feb838c31368dba6cd9716f67d800bf6e3b.zip
Added a method to the resource mananger to determine the real path of a file in the search path. Added a first user of that function. Minor cleanup.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8e068601..df03908f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -170,7 +170,7 @@ void init_engine()
// Add the main data directory to our PhysicsFS search path
resman->addToSearchPath("data", true);
- resman->addToSearchPath(TMW_DATADIR "data", 1);
+ resman->addToSearchPath(TMW_DATADIR "data", true);
// Add zip files to PhysicsFS
resman->searchAndAddArchives("/", ".zip", true);
// Updates, these override other files