From bbd4ffca27ebccbc96ace58fd48e42a3dd9a727a Mon Sep 17 00:00:00 2001 From: Reki Date: Sun, 30 May 2021 14:41:02 -0400 Subject: [PATCH] Localsound2 added to weird prototype file --- snd_null.c | 5 +++++ sound.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/snd_null.c b/snd_null.c index f487874a..f937df6b 100755 --- a/snd_null.c +++ b/snd_null.c @@ -136,6 +136,11 @@ qbool S_LocalSound (const char *s) return false; } +qbool S_LocalSound2(const char *sound, int chnl, float vlume) +{ + return false; +} + void S_BlockSound (void) { } diff --git a/sound.h b/sound.h index 2645ee61..877b4f44 100644 --- a/sound.h +++ b/sound.h @@ -101,7 +101,7 @@ sfx_t *S_FindName(const char *name); int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation); int S_StartSound_StartPosition_Flags (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation, float startposition, int flags, float fspeed); qbool S_LocalSound (const char *s); -qbool S_LocalSound2 (const char *s, int chnl, float vlume); +qbool S_LocalSound2 (const char *sound, int chnl, float vlume) void S_StaticSound (sfx_t *sfx, vec3_t origin, float fvol, float attenuation); void S_StopSound (int entnum, int entchannel); -- 2.39.2