diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-04 21:19:25 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-04 21:19:25 +0000 |
commit | 9eed8feb838c31368dba6cd9716f67d800bf6e3b (patch) | |
tree | bf7c9d1963a5d8ef031c6f04ef114722e299a7f0 /src/main.cpp | |
parent | 2da65e2e57b664cc45c164f08ddae3597e51fcba (diff) | |
download | mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.gz mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.bz2 mana-9eed8feb838c31368dba6cd9716f67d800bf6e3b.tar.xz mana-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.cpp | 2 |
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 |