diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-22 10:59:36 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-22 10:59:36 +0000 |
| commit | 2d26c93f052d6fc550c36239753e9e040601314f (patch) | |
| tree | a7ac7a548bffbeef083497b4eb135d8d6c3e84d6 /src/game/client/gc_hooks.cpp | |
| parent | 918a090329f5632afb6666e913aabed2ef281466 (diff) | |
| download | zcatch-2d26c93f052d6fc550c36239753e9e040601314f.tar.gz zcatch-2d26c93f052d6fc550c36239753e9e040601314f.zip | |
fixed invisible tees problem. increased mouse deadzone from 200 to 300. decreased max camera distance to 200.
Diffstat (limited to 'src/game/client/gc_hooks.cpp')
| -rw-r--r-- | src/game/client/gc_hooks.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/client/gc_hooks.cpp b/src/game/client/gc_hooks.cpp index 2d9a1ba3..5477edd5 100644 --- a/src/game/client/gc_hooks.cpp +++ b/src/game/client/gc_hooks.cpp @@ -573,7 +573,7 @@ extern "C" void modc_message(int msgtype) client_datas[msg->cid].skin_info.color_body = vec4(1,1,1,1); client_datas[msg->cid].skin_info.color_feet = vec4(1,1,1,1); } - + client_datas[msg->cid].update_render_info(); } else if(msgtype == NETMSGTYPE_SV_WEAPON_PICKUP) @@ -637,14 +637,18 @@ extern "C" void modc_connected() for(int i = 0; i < MAX_CLIENTS; i++) { client_datas[i].name[0] = 0; + client_datas[i].skin_id = 0; client_datas[i].team = 0; client_datas[i].emoticon = 0; client_datas[i].emoticon_start = -1; + client_datas[i].skin_info.texture = skin_get(0)->color_texture; + client_datas[i].skin_info.color_body = vec4(1,1,1,1); + client_datas[i].skin_info.color_feet = vec4(1,1,1,1); + client_datas[i].update_render_info(); } for(int i = 0; i < killmsg_max; i++) killmsgs[i].tick = -100000; - send_info(true); } |