From f09c94ae1aaa4134f430dc934b246356e93dfa0e Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 10 Dec 2007 20:41:41 +0000 Subject: fixed the reversed nameplate option --- src/game/client/game_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 7404d97e..d1bdfe2b 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_always != 0) + 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; -- cgit 1.4.1