Fixed UI to use MAX_QPATH for skin filename buffer length.

This commit is contained in:
Zack Middleton 2012-01-17 22:38:49 +00:00
parent 89f7863254
commit 73744a84c6

View file

@ -3608,7 +3608,7 @@ static int UI_MapCountByGameType(qboolean singlePlayer) {
}
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 );