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-12-10 19:13:00 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-10 19:13:00 +0000
commit014dcf97c0b7a7c5354478335a27e89c1209a765 (patch)
tree5a32a6c4bff76bd157d58e1ceec2a24111741b4e /src/game/client/game_client.cpp
parent6f20ceabcc92fcf57e52f443f3865217e970f74b (diff)
downloadzcatch-014dcf97c0b7a7c5354478335a27e89c1209a765.tar.gz
zcatch-014dcf97c0b7a7c5354478335a27e89c1209a765.zip
crash fixes and added options
Diffstat (limited to 'src/game/client/game_client.cpp')
-rw-r--r--src/game/client/game_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index 1708e0da..70635e10 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -1604,7 +1604,7 @@ static void render_player(
 	{
 		//gfx_pretty_text_color
 		float a = 1;
-		if(config.cl_nameplates == 1)
+		if(config.cl_nameplates_always != 0)
 			a = clamp(1-powf(distance(local_target_pos, position)/200.0f,16.0f), 0.0f, 1.0f);
 			
 		const char *name = client_datas[info.clientid].name;