]> 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)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 10 Jul 2011 19:14:37 +0000 (19:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11244 d7cf8633-e32d-0410-b094-e92efae38249

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)