]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.c
Fix an annoying bug in the d0_blind_id protocol handling:
[xonotic/darkplaces.git] / csprogs.c
index 64e21e68a92ed7b66dba2778bfc9da9227b6a7a1..b1598ddadd97a68df5172545aaec41f2dd251e63 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -1242,7 +1242,7 @@ qboolean CL_VM_TransformView(int entnum, matrix4x4_t *viewmatrix, mplane_t *clip
                                Matrix4x4_Invert_Full(&mat, viewmatrix);
                                Matrix4x4_FromVectors(viewmatrix, forward, left, up, origin);
                                Matrix4x4_Concat(&matq, viewmatrix, &mat);
-                               Matrix4x4_TransformPositivePlane(&matq, clipplane->normal[0], clipplane->normal[1], clipplane->normal[2], clipplane->dist, &clipplane->normal[0]);
+                               Matrix4x4_TransformPositivePlane(&matq, clipplane->normal[0], clipplane->normal[1], clipplane->normal[2], clipplane->dist, clipplane->normal_and_dist);
                        }
                }
        CSQC_END