From: havoc Date: Mon, 28 Jul 2003 11:45:56 +0000 (+0000) Subject: I hope this fixes tags on md3 models, but I don't have any idea... X-Git-Tag: xonotic-v0.1.0preview~6470 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fcadc1494fa4ecbeb51d1ed61d68d84d1360c0f1;p=xonotic%2Fdarkplaces.git I hope this fixes tags on md3 models, but I don't have any idea... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3344 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_alias.c b/model_alias.c index 79169cae..f327e0db 100644 --- a/model_alias.c +++ b/model_alias.c @@ -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]); } }