From: havoc Date: Sat, 15 Nov 2003 01:03:37 +0000 (+0000) Subject: fixed flipped sound (stupid bug in S_Update call) X-Git-Tag: xonotic-v0.1.0preview~6265 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=ac3cc07f30504b6e0f19f71152ca88d0370eafd0;p=xonotic%2Fdarkplaces.git fixed flipped sound (stupid bug in S_Update call) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3647 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index 8f5b001a..ef1e0c37 100644 --- a/host.c +++ b/host.c @@ -769,10 +769,9 @@ void _Host_Frame (float time) if (cls.signon == SIGNONS && cl.viewentity >= 0 && cl.viewentity < MAX_EDICTS && cl_entities[cl.viewentity].state_current.active) { // LordHavoc: this used to use renderer variables (eww) - vec3_t forward, right, up, origin; - Matrix4x4_ToVectors(&cl_entities[cl.viewentity].render.matrix, forward, right, up, origin); - VectorNegate(right, right); - S_Update(origin, forward, right, up); + vec3_t forward, left, up, origin; + Matrix4x4_ToVectors(&cl_entities[cl.viewentity].render.matrix, forward, left, up, origin); + S_Update(origin, forward, left, up); } else S_Update(vec3_origin, vec3_origin, vec3_origin, vec3_origin);