From 397b9a764b435a7b8c410bd9edc445009a7a9564 Mon Sep 17 00:00:00 2001 From: Dominik Geyer Date: Wed, 1 Oct 2008 17:16:22 +0000 Subject: data-dir autodetection; data-dir override; compiled-in data-dir; messagebox if detection fails; does chdir into data-dir --- src/game/client/gameclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/gameclient.cpp') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 2696e185..3aed1cd1 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -179,7 +179,7 @@ void GAMECLIENT::on_init() int64 start = time_get(); int before = gfx_memory_usage(); - font_set_load(&default_font, "data/fonts/default_font%d.tfnt", "data/fonts/default_font%d.png", "data/fonts/default_font%d_b.png", 14, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 36); + font_set_load(&default_font, "fonts/default_font%d.tfnt", "fonts/default_font%d.png", "fonts/default_font%d_b.png", 14, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 36); dbg_msg("font", "gfx memory used for font textures: %d", gfx_memory_usage()-before); gfx_text_set_default_font(&default_font); -- cgit 1.4.1