]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
new command line option -modname to override DP's idea of com_modname (useful to...
[xonotic/darkplaces.git] / model_shared.c
index 91e63ad033f894e2df0f9a472473a3dafe4cd358..edf096aaeba004612a3ee13bca1f0f15cca08705 100644 (file)
@@ -2735,7 +2735,7 @@ static void Mod_Decompile_f(void)
                                        if ((animname[l] < '0' || animname[l] > '9') && animname[l] != '_')
                                                k = l + 1;
                                animname[k] = 0;
-                               count = (mod->num_poses / mod->num_bones) - first;
+                               count = mod->num_poses - first;
                                for (j = i + 1;j < mod->numframes;j++)
                                {
                                        strlcpy(animname2, mod->animscenes[j].name, sizeof(animname2));