change comment and error message

This commit is contained in:
Jaime Passos 2019-09-29 12:16:38 -03:00
parent dfe05a650c
commit 12fd1849bd

View file

@ -3728,7 +3728,7 @@ static void R_ParseSpriteInfo(boolean spr2)
INT32 i; INT32 i;
INT32 skinnum = -1; INT32 skinnum = -1;
// Texture name // Sprite name
sprinfoToken = M_GetToken(NULL); sprinfoToken = M_GetToken(NULL);
if (sprinfoToken == NULL) if (sprinfoToken == NULL)
{ {
@ -3737,7 +3737,7 @@ static void R_ParseSpriteInfo(boolean spr2)
sprinfoTokenLength = strlen(sprinfoToken); sprinfoTokenLength = strlen(sprinfoToken);
if (sprinfoTokenLength != 4) if (sprinfoTokenLength != 4)
{ {
I_Error("Error parsing SPRTINFO lump: Sprite name \"%s\" isn't 4 characters",sprinfoToken); I_Error("Error parsing SPRTINFO lump: Sprite name \"%s\" isn't 4 characters long",sprinfoToken);
} }
else else
{ {