From 137252ca8e9bd1bcc4d73720513133123f9f3cd4 Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Tue, 7 Jul 2009 01:22:11 +0000 Subject: [PATCH] Fixing warnings --- reaction/code/ui/ui_players.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reaction/code/ui/ui_players.c b/reaction/code/ui/ui_players.c index ee4e93d2..a2b9f9bf 100644 --- a/reaction/code/ui/ui_players.c +++ b/reaction/code/ui/ui_players.c @@ -1225,7 +1225,8 @@ qboolean UI_RegisterClientModelname(playerInfo_t * pi, const char *modelSkinName } } - if (headModelName && headModelName[0] == '*') { +// JBravo: fixed a warning... + if (headModelName[0] == '*') { Com_sprintf(filename, sizeof(filename), "models/players/heads/%s/%s.md3", &headModelName[1], &headModelName[1]); } else {