From 69bb25bb18ddc7694f6f81e7a2c30bf89ad77de3 Mon Sep 17 00:00:00 2001 From: Jonathan Poncelet Date: Thu, 31 Jan 2019 13:31:27 +0000 Subject: [PATCH] Updated a couple of messages as per pull request --- engine/client/cl_main.c | 2 +- engine/client/s_vox.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 20fd57ca..3b5b0080 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -2473,7 +2473,7 @@ qboolean CL_PrecacheResources( void ) { 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_index[pRes->nIndex] = 0; } diff --git a/engine/client/s_vox.c b/engine/client/s_vox.c index da11f4ba..5955e344 100644 --- a/engine/client/s_vox.c +++ b/engine/client/s_vox.c @@ -545,7 +545,7 @@ void VOX_ParseLineCommands( char *pSentenceData, int sentenceIndex ) length = pNext - pSentenceData; 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; }