mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: s_vox: fix incorrect check in VOX_FreeWord
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user