]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix getsurfaceneartexture() returning no useful data
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Jun 2010 07:08:53 +0000 (07:08 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Jun 2010 07:08:53 +0000 (07:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10255 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 239e7b3ee8edf334576125e3ed8bc10eeb0bbe7e..2c879603d8a8462a743db36b56ba934d3fecd519 100644 (file)
@@ -6358,7 +6358,7 @@ static void applytransform_inverted(const vec3_t in, prvm_edict_t *ed, vec3_t ou
 {
        matrix4x4_t m, n;
        getmatrix(ed, &m);
-       Matrix4x4_Invert_Full(&m, &n);
+       Matrix4x4_Invert_Full(&n, &m);
        Matrix4x4_Transform3x3(&n, in, out);
 }