summaryrefslogtreecommitdiff
path: root/source/sv_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_game.c')
-rw-r--r--source/sv_game.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/sv_game.c b/source/sv_game.c
index c7b4c30..d2c4eba 100644
--- a/source/sv_game.c
+++ b/source/sv_game.c
@@ -596,6 +596,7 @@ static void PF_StartSound( edict_t *edict, int channel,
msg = LIST_FIRST( sound_packet_t, &client->freemsg, entry );
+ msg->cursize = 0; // !!! make sure this does not get Z_Free'ed
msg->flags = flags;
msg->index = soundindex;
msg->volume = volume * 255;