]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed flipped sound (stupid bug in S_Update call)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Nov 2003 01:03:37 +0000 (01:03 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Nov 2003 01:03:37 +0000 (01:03 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3647 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 8f5b001a04a9c424c385cc24634523295c3b4ddb..ef1e0c3740ce633c7b02959d42d72ec1ea2de768 100644 (file)
--- 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);