engine: client: fix broken build due to incorrect constant being used

This commit is contained in:
Alibek Omarov 2024-12-05 14:20:43 +03:00
parent f5d635b67b
commit 964744d330

View file

@ -494,7 +494,7 @@ void VOX_LoadSound( channel_t *ch, const char *pszin )
for( i = 0, j = 0; i < CVOXWORDMAX && rgpparseword[i]; i++ ) for( i = 0, j = 0; i < CVOXWORDMAX && rgpparseword[i]; i++ )
{ {
char pathbuffer[PATH_MAX]; char pathbuffer[MAX_SYSPATH];
if( !VOX_ParseWordParams( rgpparseword[i], &ch->words[j], i == 0 )) if( !VOX_ParseWordParams( rgpparseword[i], &ch->words[j], i == 0 ))
continue; continue;