diff options
-rw-r--r-- | src/game/g_client.c | 2 | ||||
-rw-r--r-- | ui/tremulous_common_hud.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index 726e8b54..eefc266b 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1110,7 +1110,7 @@ void ClientUserinfoChanged( int clientNum ) // teamInfo s = Info_ValueForKey( userinfo, "teamoverlay" ); - if( !*s || atoi( s ) != 0 ) + if( atoi( s ) != 0 ) client->pers.teamInfo = qtrue; else client->pers.teamInfo = qfalse; diff --git a/ui/tremulous_common_hud.h b/ui/tremulous_common_hud.h index b01da14e..e9ddf06c 100644 --- a/ui/tremulous_common_hud.h +++ b/ui/tremulous_common_hud.h @@ -111,10 +111,12 @@ itemDef itemDef { name "location" - rect (STAT_X-20) ((4*BORDER)+(5*STAT_H)) (STAT_W+25) STAT_H + rect (STAT_X-55) ((4*BORDER)+(5*STAT_H)) (STAT_W+60) STAT_H + aspectBias ALIGN_RIGHT visible MENU_TRUE decoration forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 1 + textalign ALIGN_RIGHT textscale 0.3 ownerdraw CG_PLAYER_LOCATION } |