mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-24 21:01:17 +00:00
Invalid skin number as developer message
This commit is contained in:
parent
48b66f4578
commit
f296c49b72
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ void R_TranslatePlayerSkin (int playernum)
|
|||
paliashdr = (aliashdr_t *)Mod_Extradata (model);
|
||||
s = paliashdr->skinwidth * paliashdr->skinheight;
|
||||
if (currententity->skinnum < 0 || currententity->skinnum >= paliashdr->numskins) {
|
||||
Con_Printf("(%d): Invalid player skin #%d\n", playernum, currententity->skinnum);
|
||||
Con_DPrintf("(%d): Invalid player skin #%d\n", playernum, currententity->skinnum);
|
||||
original = (byte *)paliashdr + paliashdr->texels[0];
|
||||
} else
|
||||
original = (byte *)paliashdr + paliashdr->texels[currententity->skinnum];
|
||||
|
|
Loading…
Reference in a new issue