mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
the address of 'headModelName' will always evaluate as 'true'
This commit is contained in:
parent
a0316f9397
commit
f3e1a64c04
1 changed files with 1 additions and 1 deletions
|
@ -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] );
|
Com_sprintf( filename, sizeof( filename ), "models/players/heads/%s/%s.md3", &headModelName[1], &headModelName[1] );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue