]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
I hope this fixes tags on md3 models, but I don't have any idea...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 28 Jul 2003 11:45:56 +0000 (11:45 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 28 Jul 2003 11:45:56 +0000 (11:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3344 d7cf8633-e32d-0410-b094-e92efae38249

model_alias.c

index 79169caef2d195da592c0a54a08a8939d429ae3e..f327e0db9290ea4ea649f7dcf12b2072ec423b04 100644 (file)
@@ -876,7 +876,7 @@ void Mod_IDP3_Load(model_t *mod, void *buffer)
                for (j = 0;j < 3;j++)
                {
                        for (k = 0;k < 3;k++)
-                               loadmodel->alias.aliasdata_tags[i].matrix.m[k][j] = LittleLong(pintag->rotationmatrix[j * 3 + k]);
+                               loadmodel->alias.aliasdata_tags[i].matrix.m[j][k] = LittleLong(pintag->rotationmatrix[j * 3 + k]);
                        loadmodel->alias.aliasdata_tags[i].matrix.m[j][3] = LittleLong(pintag->origin[j]);
                }
        }