From: havoc Date: Wed, 13 Aug 2003 02:08:11 +0000 (+0000) Subject: I hope this fixes a md3 tag bug, but don't know X-Git-Tag: xonotic-v0.1.0preview~6440 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=527e9653a8a8f629a452a1b2a77347e149282349;p=xonotic%2Fdarkplaces.git I hope this fixes a md3 tag bug, but don't know git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3391 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_alias.c b/model_alias.c index aacae600..8e75b45b 100644 --- a/model_alias.c +++ b/model_alias.c @@ -870,7 +870,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[j][k] = LittleFloat(pintag->rotationmatrix[j * 3 + k]); + loadmodel->alias.aliasdata_tags[i].matrix.m[j][k] = LittleFloat(pintag->rotationmatrix[k * 3 + j]); loadmodel->alias.aliasdata_tags[i].matrix.m[j][3] = LittleFloat(pintag->origin[j]); } //Con_Printf("model \"%s\" frame #%i tag #%i \"%s\"\n", loadmodel->name, i / loadmodel->alias.aliasnum_tags, i % loadmodel->alias.aliasnum_tags, loadmodel->alias.aliasdata_tags[i].name);