From 3f0dc06cb4e223abe59708b278d188cbde505e60 Mon Sep 17 00:00:00 2001 From: ludwig Date: Thu, 19 Jul 2007 08:10:32 +0000 Subject: the address of 'headModelName' will always evaluate as 'true' git-svn-id: svn://svn.icculus.org/quake3/trunk@1117 edf5b092-35ff-0310-97b2-ce42778d08ea --- 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 b09fb32..59a339c 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 { -- cgit v1.2.3