From: eihrul Date: Sun, 10 Jul 2011 19:14:37 +0000 (+0000) Subject: tab formatting fix X-Git-Tag: xonotic-v0.5.0~75 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8ed70b9822a323bb93017947611838fc72bfa98d;p=xonotic%2Fdarkplaces.git tab formatting fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11244 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=cb9d7e7b986a54aa6237d921f812289a03c85f5b --- diff --git a/model_alias.c b/model_alias.c index 0116d87f..94f09361 100644 --- a/model_alias.c +++ b/model_alias.c @@ -3226,9 +3226,9 @@ void Mod_INTERQUAKEMODEL_Load(dp_model_t *mod, void *buffer, void *bufferend) loadmodel->data_bones[i].parent = joint[i].parent; if (loadmodel->data_bones[i].parent >= i) Host_Error("%s bone[%i].parent >= %i", loadmodel->name, i, i); - if (joint[i].rotation[3] > 0) - Vector4Negate(joint[i].rotation, joint[i].rotation); - Vector4Normalize2(joint[i].rotation, joint[i].rotation); + if (joint[i].rotation[3] > 0) + Vector4Negate(joint[i].rotation, joint[i].rotation); + Vector4Normalize2(joint[i].rotation, joint[i].rotation); Matrix4x4_FromDoom3Joint(&relbase, joint[i].origin[0], joint[i].origin[1], joint[i].origin[2], joint[i].rotation[0], joint[i].rotation[1], joint[i].rotation[2]); Matrix4x4_Invert_Simple(&relinvbase, &relbase); if (loadmodel->data_bones[i].parent >= 0)