mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
client: port fix of spk/speak commands from old engine
This commit is contained in:
@@ -469,7 +469,10 @@ void VOX_LoadSound( channel_t *pchan, const char *pszin )
|
||||
|
||||
// lookup actual string in g_Sentences,
|
||||
// set pointer to string data
|
||||
psz = VOX_LookupString( pszin, NULL );
|
||||
if( pszin[0] == '#' )
|
||||
psz = (char *)pszin + 1;
|
||||
else
|
||||
psz = VOX_LookupString( pszin, NULL );
|
||||
|
||||
if( !psz )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user