]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
tab formatting fix
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 10 Jul 2011 19:14:37 +0000 (19:14 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 23 Jul 2011 08:20:48 +0000 (10:20 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11244 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=cb9d7e7b986a54aa6237d921f812289a03c85f5b

model_alias.c

index 0116d87f2ba66d04e3cc6289c59880323bf8b171..94f09361c918523c6cf89428422f8221cf98671e 100644 (file)
@@ -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)