mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
engine: client: s_vox: fix incorrect check in VOX_FreeWord
This commit is contained in:
parent
ca93c5b666
commit
41b78c26ef
@ -204,7 +204,7 @@ void VOX_FreeWord( channel_t *ch )
|
||||
ch->currentWord = NULL;
|
||||
memset( &ch->pMixer, 0, sizeof( ch->pMixer ));
|
||||
|
||||
if( !word->sfx && !word->fKeepCached )
|
||||
if( !word->sfx || word->fKeepCached )
|
||||
return;
|
||||
|
||||
FS_FreeSound( word->sfx->cache );
|
||||
|
Loading…
Reference in New Issue
Block a user