about summary refs log tree commit diff
path: root/src/game/client/game_client.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-26 19:09:31 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-26 19:09:31 +0000
commit1d346661640036531a0c06960d4347468572ea53 (patch)
treef9fbe5dbe5486fffa053b2da7bc25b397d915b41 /src/game/client/game_client.cpp
parente588bd3b3b7b1f5f8d9c484d1f28bfe66e6a20f1 (diff)
downloadzcatch-1d346661640036531a0c06960d4347468572ea53.tar.gz
zcatch-1d346661640036531a0c06960d4347468572ea53.zip
fixed latency stuff, some gfx stuff
Diffstat (limited to 'src/game/client/game_client.cpp')
-rw-r--r--src/game/client/game_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index c500cb70..45bd2ad2 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -951,7 +951,7 @@ static void render_player(obj_player *prev, obj_player *player)
 					if (dir.x < 0.0f)
 						hadokenangle += pi;
 					gfx_quads_setrotation(hadokenangle);
-					float offsety = -data->weapons[iw].muzzleoffsety;
+					//float offsety = -data->weapons[iw].muzzleoffsety;
 					select_sprite(data->weapons[iw].sprite_muzzle[itex].psprite, 0);
 					vec2 diry(-dir.y,dir.x);
 					p = position;
@@ -1707,7 +1707,7 @@ void modc_render()
 						render_tee(&idlestate, skin, vec2(1,0), vec2(offsetx + x+90, offsets[player->team]+24));
 
 						sprintf(buf, "%4d", player->latency);
-						float tw = gfx_pretty_text_width(48.0f, buf);
+						//float tw = gfx_pretty_text_width(48.0f, buf);
 						gfx_pretty_text(offsetx + x + 240, offsets[player->team], 48, buf);
 
 						offsets[player->team] += 58.0f;