X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_shared.c;h=edf096aaeba004612a3ee13bca1f0f15cca08705;hb=66e2a20b4a20d03de1098a3c76186cb0ce316f21;hp=91e63ad033f894e2df0f9a472473a3dafe4cd358;hpb=14038bdf05fbf63362de75588bc248c1690553fd;p=xonotic%2Fdarkplaces.git diff --git a/model_shared.c b/model_shared.c index 91e63ad0..edf096aa 100644 --- a/model_shared.c +++ b/model_shared.c @@ -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));