This commit is contained in:
Pawel Kolodziejski 2004-12-31 22:05:26 +00:00
parent fa8e82812d
commit f8d91f8332
12 changed files with 79 additions and 65 deletions

View file

@ -38,7 +38,7 @@ static void makeLower(std::string& s) {
ResourceLoader *g_resourceloader = NULL;
ResourceLoader::ResourceLoader() {
const char *directory = Registry::instance()->get("DataDir");
const char *directory = g_registry->get("DataDir");
std::string dir_str = (directory != NULL ? directory : ".");
dir_str += '/';
int lab_counter = 0;