|
|
|
@ -92,7 +92,7 @@ void CL_ParseSoundPacket( sizebuf_t *msg )
@@ -92,7 +92,7 @@ void CL_ParseSoundPacket( sizebuf_t *msg )
|
|
|
|
|
char sentenceName[32]; |
|
|
|
|
|
|
|
|
|
if( FBitSet( flags, SND_SEQUENCE )) |
|
|
|
|
Q_snprintf( sentenceName, sizeof( sentenceName ), "!#%i", sound + MAX_SOUNDS ); |
|
|
|
|
Q_snprintf( sentenceName, sizeof( sentenceName ), "!#%i", sound + MAX_SOUNDS_NONSENTENCE ); |
|
|
|
|
else Q_snprintf( sentenceName, sizeof( sentenceName ), "!%i", sound ); |
|
|
|
|
|
|
|
|
|
handle = S_RegisterSound( sentenceName ); |
|
|
|
@ -156,7 +156,7 @@ void CL_ParseRestoreSoundPacket( sizebuf_t *msg )
@@ -156,7 +156,7 @@ void CL_ParseRestoreSoundPacket( sizebuf_t *msg )
|
|
|
|
|
char sentenceName[32]; |
|
|
|
|
|
|
|
|
|
if( flags & SND_SEQUENCE ) |
|
|
|
|
Q_snprintf( sentenceName, sizeof( sentenceName ), "!%i", sound + MAX_SOUNDS ); |
|
|
|
|
Q_snprintf( sentenceName, sizeof( sentenceName ), "!%i", sound + MAX_SOUNDS_NONSENTENCE ); |
|
|
|
|
else Q_snprintf( sentenceName, sizeof( sentenceName ), "!%i", sound ); |
|
|
|
|
|
|
|
|
|
handle = S_RegisterSound( sentenceName ); |
|
|
|
|