Change I_Error message
This commit is contained in:
parent
401271feb7
commit
94fe7a3d8c
|
@ -447,7 +447,7 @@ static void R_GenerateTranslationColormap(UINT8 *dest_colormap, INT32 skinnum, U
|
||||||
I_Error("Invalid skin color #%hu.", (UINT16)color);
|
I_Error("Invalid skin color #%hu.", (UINT16)color);
|
||||||
|
|
||||||
if (skinnum < 0 && skinnum > TC_DEFAULT)
|
if (skinnum < 0 && skinnum > TC_DEFAULT)
|
||||||
I_Error("Invalid non-translation skin number %d.", skinnum);
|
I_Error("Invalid translation colormap index %d.", skinnum);
|
||||||
|
|
||||||
starttranscolor = (skinnum != TC_DEFAULT) ? skins[skinnum].starttranscolor : DEFAULT_STARTTRANSCOLOR;
|
starttranscolor = (skinnum != TC_DEFAULT) ? skins[skinnum].starttranscolor : DEFAULT_STARTTRANSCOLOR;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue