about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-31 21:50:14 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-31 21:50:14 +0000
commit04eddacd65fd3da680e3d896368cb766b377e6e2 (patch)
tree4e99da87a56b59901e4752d7ac8d593a93ecd508 /src/game/client/gameclient.cpp
parent62d9ff05d6cc0ae1cd952d51a168f6ffcf6abf60 (diff)
downloadzcatch-04eddacd65fd3da680e3d896368cb766b377e6e2.tar.gz
zcatch-04eddacd65fd3da680e3d896368cb766b377e6e2.zip
setting of correct game type in game controller. fixed gametype filter in browser. various cleanups
Diffstat (limited to 'src/game/client/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index 1fde8f18..977b7863 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -73,7 +73,7 @@ static void load_sounds_thread(void *do_render)
 	// load sounds
 	for(int s = 0; s < data->num_sounds; s++)
 	{
-		if(do_render) // TODO: repair me
+		if(do_render)
 			gameclient.menus->render_loading(load_current/(float)load_total);
 		for(int i = 0; i < data->sounds[s].num_sounds; i++)
 		{
@@ -175,7 +175,6 @@ void GAMECLIENT::on_init()
 	// load textures
 	for(int i = 0; i < data->num_images; i++)
 	{
-		// TODO: repair me
 		gameclient.menus->render_loading(load_current/load_total);
 		data->images[i].id = gfx_load_texture(data->images[i].filename, IMG_AUTO, 0);
 		load_current++;
@@ -387,13 +386,6 @@ void GAMECLIENT::on_message(int msgtype)
 
 		clients[msg->cid].update_render_info();
 	}
-    else if(msgtype == NETMSGTYPE_SV_WEAPONPICKUP)
-    {
-    	// TODO: repair me
-    	/*NETMSG_SV_WEAPONPICKUP *msg = (NETMSG_SV_WEAPONPICKUP *)rawmsg;
-        if(config.cl_autoswitch_weapons)
-        	input_data.wanted_weapon = msg->weapon+1;*/
-    }
 	else if(msgtype == NETMSGTYPE_SV_READYTOENTER)
 	{
 		client_entergame();