diff --git a/code/ui/ui_main.c b/code/ui/ui_main.c index a8a4d869..e887c8cb 100644 --- a/code/ui/ui_main.c +++ b/code/ui/ui_main.c @@ -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 );