From f3e1a64c04c1beb558c90d1d0ba2d24af4f841a3 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 19 Jul 2007 08:10:32 +0000 Subject: [PATCH] the address of 'headModelName' will always evaluate as 'true' --- code/ui/ui_players.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ui/ui_players.c b/code/ui/ui_players.c index b09fb320..59a339c2 100644 --- a/code/ui/ui_players.c +++ b/code/ui/ui_players.c @@ -1204,7 +1204,7 @@ qboolean UI_RegisterClientModelname( playerInfo_t *pi, const char *modelSkinName } } - if (headModelName && headModelName[0] == '*' ) { + if (headModelName[0] == '*' ) { Com_sprintf( filename, sizeof( filename ), "models/players/heads/%s/%s.md3", &headModelName[1], &headModelName[1] ); } else {