From: havoc Date: Wed, 28 Sep 2011 04:46:59 +0000 (+0000) Subject: fix another bug with sound pitchspeed parameter X-Git-Tag: xonotic-v0.6.0~305 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=45e8602a7e43c7f93e98dcfc7e8d47dbaaff7aff;p=xonotic%2Fdarkplaces.git fix another bug with sound pitchspeed parameter git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11374 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=008c637a3976f0514406779744051b31f41dc768 --- diff --git a/sv_main.c b/sv_main.c index 6de804aa..3f3a7895 100644 --- a/sv_main.c +++ b/sv_main.c @@ -736,7 +736,7 @@ void SV_StartSound (prvm_edict_t *entity, int channel, const char *sample, int v ent = PRVM_NUM_FOR_EDICT(entity); - speed4000 = (int)(speed * 40.0f); + speed4000 = (int)(speed * 4000.0f); field_mask = 0; if (volume != DEFAULT_SOUND_PACKET_VOLUME) field_mask |= SND_VOLUME;