Browse Source

Updated a couple of messages as per pull request

pull/2/head
Jonathan Poncelet 6 years ago
parent
commit
69bb25bb18
  1. 2
      engine/client/cl_main.c
  2. 2
      engine/client/s_vox.c

2
engine/client/cl_main.c

@ -2473,7 +2473,7 @@ qboolean CL_PrecacheResources( void )
{ {
if( FBitSet( pRes->ucFlags, RES_WASMISSING )) if( FBitSet( pRes->ucFlags, RES_WASMISSING ))
{ {
Con_Printf( S_ERROR "Could not load sound %s%s for precache\n", DEFAULT_SOUNDPATH, pRes->szFileName ); Con_Printf( S_ERROR "Could not load sound %s%s\n", DEFAULT_SOUNDPATH, pRes->szFileName );
cl.sound_precache[pRes->nIndex][0] = 0; cl.sound_precache[pRes->nIndex][0] = 0;
cl.sound_index[pRes->nIndex] = 0; cl.sound_index[pRes->nIndex] = 0;
} }

2
engine/client/s_vox.c

@ -545,7 +545,7 @@ void VOX_ParseLineCommands( char *pSentenceData, int sentenceIndex )
length = pNext - pSentenceData; length = pNext - pSentenceData;
if( tempBufferPos + length > sizeof( tempBuffer )) if( tempBufferPos + length > sizeof( tempBuffer ))
{ {
Con_Printf( S_ERROR "Sentence exceeded max length of %d\n", sizeof(tempBuffer) - 1 ); Con_Printf( S_ERROR "Sentence too long (max length %d characters)\n", sizeof(tempBuffer) - 1 );
return; return;
} }

Loading…
Cancel
Save