mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-31 13:00:52 +00:00
Fixed UI to use MAX_QPATH for skin filename buffer length.
This commit is contained in:
parent
89f7863254
commit
73744a84c6
1 changed files with 1 additions and 1 deletions
|
@ -3608,7 +3608,7 @@ static int UI_MapCountByGameType(qboolean singlePlayer) {
|
||||||
}
|
}
|
||||||
|
|
||||||
qboolean UI_hasSkinForBase(const char *base, const char *team) {
|
qboolean UI_hasSkinForBase(const char *base, const char *team) {
|
||||||
char test[1024];
|
char test[MAX_QPATH];
|
||||||
|
|
||||||
Com_sprintf( test, sizeof( test ), "models/players/%s/%s/lower_default.skin", base, team );
|
Com_sprintf( test, sizeof( test ), "models/players/%s/%s/lower_default.skin", base, team );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue