mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
r_alias.c, r_sprite.c: print the model name in the "no such skin" (r_alias.c) and "no such frame" (r_sprite.c) developer messages
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1246 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
58831bf2ca
commit
76909f07c2
2 changed files with 2 additions and 2 deletions
|
@ -685,7 +685,7 @@ void R_DrawAliasModel (entity_t *e)
|
|||
anim = (int)(cl.time*10) & 3;
|
||||
if ((e->skinnum >= paliashdr->numskins) || (e->skinnum < 0))
|
||||
{
|
||||
Con_DPrintf ("R_DrawAliasModel: no such skin # %dn", e->skinnum);
|
||||
Con_DPrintf ("R_DrawAliasModel: no such skin # %d for '%s'\n", e->skinnum, e->model->name);
|
||||
tx = NULL; // NULL will give the checkerboard texture
|
||||
fb = NULL;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ mspriteframe_t *R_GetSpriteFrame (entity_t *currentent)
|
|||
|
||||
if ((frame >= psprite->numframes) || (frame < 0))
|
||||
{
|
||||
Con_DPrintf ("R_DrawSprite: no such frame %d\n", frame);
|
||||
Con_DPrintf ("R_DrawSprite: no such frame %d for '%s'\n", frame, currentent->model->name);
|
||||
frame = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue