diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:16 +0200 |
commit | 979776bf1d7319218d84dd488ed69a45a854dce1 (patch) | |
tree | 8ff840394f86f0ab7e8c6a832cf0f023b6c5d351 /src/ui/ui_players.c | |
parent | 997dca8b0297aa186931a84e9f9838b2867f7f1e (diff) |
fix/silence a couple of compiler warnings
Diffstat (limited to 'src/ui/ui_players.c')
-rw-r--r-- | src/ui/ui_players.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_players.c b/src/ui/ui_players.c index 5dbfdd3..acf14b5 100644 --- a/src/ui/ui_players.c +++ b/src/ui/ui_players.c @@ -1194,7 +1194,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 { |