mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: s_vox: do not crash in VOX if sentence wasn't sound in sequences
This commit is contained in:
parent
5b582b744a
commit
c33a384975
@ -176,6 +176,7 @@ static const char *VOX_LookupString( const char *pszin )
|
||||
i = Q_atoi( pszin + 1 );
|
||||
if(( sentenceEntry = Sequence_GetSentenceByIndex( i )))
|
||||
return sentenceEntry->data;
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user