mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Don't claim we don't support the sound() flags that we do actually support.
This commit is contained in:
parent
bc5967f62c
commit
6dd16b99e7
1 changed files with 4 additions and 1 deletions
|
@ -684,7 +684,10 @@ static void PF_sound (void)
|
||||||
|
|
||||||
if (rate && rate != 1)
|
if (rate && rate != 1)
|
||||||
Con_DPrintf("sound() rate scaling is not supported\n");
|
Con_DPrintf("sound() rate scaling is not supported\n");
|
||||||
if (flags)
|
#define SUPPORTED_SERVER_CHANNEL_FLAGS (CF_FORCELOOP|CF_NOSPACIALISE|CF_NOREVERB|CF_FOLLOW|CF_NOREPLACE|CF_SENDVELOCITY|CF_UNICAST|CF_RELIABLE)
|
||||||
|
#define SERVER_ONLY_CHANNEL_FLAGS (CF_UNICAST|CF_RELIABLE) //stuff that's purely serverside
|
||||||
|
#define SUPPORTED_CLIENT_CHANNEL_FLAGS (0) //our client is poop. :(
|
||||||
|
if (flags & ~((SUPPORTED_CLIENT_CHANNEL_FLAGS|SERVER_ONLY_CHANNEL_FLAGS)&SUPPORTED_SERVER_CHANNEL_FLAGS))
|
||||||
Con_DPrintf("sound() flags %#x not supported\n", flags);
|
Con_DPrintf("sound() flags %#x not supported\n", flags);
|
||||||
if (offset)
|
if (offset)
|
||||||
Con_DPrintf("sound() time offsets are not supported\n");
|
Con_DPrintf("sound() time offsets are not supported\n");
|
||||||
|
|
Loading…
Reference in a new issue