From b6ccb8bd8b2f12707ea4150687d2ae481af4ecdb Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 17 Dec 2007 00:44:03 +0000 Subject: added some finess to the gui --- src/game/client/gc_client.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/game/client/gc_client.cpp') diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp index ed31d5a0..c40b91a6 100644 --- a/src/game/client/gc_client.cpp +++ b/src/game/client/gc_client.cpp @@ -563,6 +563,14 @@ extern "C" void modc_init() float total = data->num_sounds+data->num_images; float current = 0; + // load textures + for(int i = 0; i < data->num_images; i++) + { + render_loading(current/total); + data->images[i].id = gfx_load_texture(data->images[i].filename); + current++; + } + // load sounds for(int s = 0; s < data->num_sounds; s++) { @@ -581,14 +589,6 @@ extern "C" void modc_init() current++; } - // load textures - for(int i = 0; i < data->num_images; i++) - { - render_loading(current/total); - data->images[i].id = gfx_load_texture(data->images[i].filename); - current++; - } - skin_init(); } -- cgit 1.4.1