git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12213
d7cf8633-e32d-0410-b094-
e92efae38249
altanims[k] = anims[k];
}
altanims[k] = anims[k];
}
+ if (max < 1)
+ {
+ // Warn.
+ Con_Printf("Missing frame 0 of %s\n", tx->name);
+
+ // however, we can handle this by duplicating the alternate animation into the primary
+ max = altmax;
+ for (k = 0;k < 10;k++)
+ anims[k] = altanims[k];
+ }
+
+
// link together the primary animation
for (j = 0;j < max;j++)
{
// link together the primary animation
for (j = 0;j < max;j++)
{