engine: client: stub svc_restoresound for legacy protocol, it's only used during save restore which is unuseful for us

* Set sequence flag for restored sound, even though we don't support sequences anymore.
This commit is contained in:
Alibek Omarov
2024-10-14 04:13:10 +03:00
parent 5ceab059dc
commit 60fd5f7ab8
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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_NONSENTENCE );
Q_snprintf( sentenceName, sizeof( sentenceName ), "!#%i", sound + MAX_SOUNDS_NONSENTENCE );
else Q_snprintf( sentenceName, sizeof( sentenceName ), "!%i", sound );
handle = S_RegisterSound( sentenceName );