1
0
Fork 0
forked from fte/fteqw

Added a few messages to let people know which models are being buggy.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@366 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-26 14:54:59 +00:00
parent 88151b16e8
commit 4ed2994308

View file

@ -324,27 +324,27 @@ static void R_GAliasBuildMesh(mesh_t *mesh, galiasinfo_t *inf, int frame1, int f
galiasgroup_t *g1, *g2;
if (!inf->groups)
{
Con_DPrintf("Model with no frames\n");
Con_DPrintf("Model with no frames (%s)\n", currententity->model->name);
return;
}
if (frame1 < 0)
{
Con_DPrintf("Negative frame\n");
Con_DPrintf("Negative frame (%s)\n", currententity->model->name);
frame1 = 0;
}
if (frame2 < 0)
{
Con_DPrintf("Negative frame\n");
Con_DPrintf("Negative frame (%s)\n", currententity->model->name);
frame2 = frame1;
}
if (frame1 >= inf->groups)
{
Con_DPrintf("Too high frame\n");
Con_DPrintf("Too high frame %i (%s)\n", frame1, currententity->model->name);
frame1 = 0;
}
if (frame2 >= inf->groups)
{
Con_DPrintf("Too high frame\n");
Con_DPrintf("Too high frame %i (%s)\n", frame2, currententity->model->name);
frame2 = frame1;
}
@ -837,6 +837,8 @@ void R_DrawGAliasModel (entity_t *e)
float tmatrix[3][4];
currententity = e;
if (e->flags & Q2RF_VIEWERMODEL && e->keynum == cl.playernum[r_refdef.currentplayernum]+1)
return;