now prints the name of the sprite that has an invalid frame.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@324 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-14 11:14:46 +00:00
parent 4d528922fd
commit 81cc41e4a4

View file

@ -208,7 +208,7 @@ mspriteframe_t *R_GetSpriteFrame (entity_t *currententity)
if ((frame >= psprite->numframes) || (frame < 0)) if ((frame >= psprite->numframes) || (frame < 0))
{ {
Con_Printf ("R_DrawSprite: no such frame %d\n", frame); Con_Printf ("R_DrawSprite: no such frame %d (%s)\n", frame, currententity->model->name);
frame = 0; frame = 0;
} }