diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-07-19 08:10:32 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-07-19 08:10:32 +0000 |
commit | 3f0dc06cb4e223abe59708b278d188cbde505e60 (patch) | |
tree | 27a2578ca813fee1e7554b4da958f0b9039dd979 | |
parent | fa00b5ad65cd81ef60a903352a054b98ec22eb8b (diff) | |
download | ioquake3-aero-3f0dc06cb4e223abe59708b278d188cbde505e60.tar.gz ioquake3-aero-3f0dc06cb4e223abe59708b278d188cbde505e60.zip |
the address of 'headModelName' will always evaluate as 'true'
git-svn-id: svn://svn.icculus.org/quake3/trunk@1117 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/ui/ui_players.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |