about summary refs log tree commit diff
path: root/src/game/client/gc_client.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-17 00:44:03 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-17 00:44:03 +0000
commitb6ccb8bd8b2f12707ea4150687d2ae481af4ecdb (patch)
tree101838f9768f14f8b103f494bcabcef47b09877d /src/game/client/gc_client.cpp
parenta6aec9e0cd6901ce8cddef57f876626f9e3de7eb (diff)
downloadzcatch-b6ccb8bd8b2f12707ea4150687d2ae481af4ecdb.tar.gz
zcatch-b6ccb8bd8b2f12707ea4150687d2ae481af4ecdb.zip
added some finess to the gui
Diffstat (limited to 'src/game/client/gc_client.cpp')
-rw-r--r--src/game/client/gc_client.cpp16
1 files changed, 8 insertions, 8 deletions
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();
 }