diff options
author | Stijn Buys <ingar@osirion.org> | 2009-02-23 21:00:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-02-23 21:00:44 +0000 |
commit | 9cc32533d081731171cfd8380044b60cee6f0f10 (patch) | |
tree | 918d4ebaf9ed6e56cb830a9e8908c403f2bb10c4 /src/core | |
parent | 22052f28695172a7c790f37aa827040c3bb2ec39 (diff) |
Search the location of the binary for the data/ directory
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/application.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/application.cc b/src/core/application.cc index 248512e..4132c33 100644 --- a/src/core/application.cc +++ b/src/core/application.cc @@ -97,7 +97,7 @@ void Application::init(int count, char **arguments) con_print << "^BInitializing core...\n"; con_debug << " debug messages enabled\n"; - filesystem::init("base", ""); + filesystem::init(arguments[0], "base", ""); Loader::load("base"); CommandBuffer::init(); |