From 9cc32533d081731171cfd8380044b60cee6f0f10 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 23 Feb 2009 21:00:44 +0000 Subject: Search the location of the binary for the data/ directory --- src/core/application.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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(); -- cgit v1.2.3