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:
parent
4d528922fd
commit
81cc41e4a4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue