mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Deobfuscate the R_ParseSpriteInfo call
This commit is contained in:
parent
aa158cccd9
commit
56e5e3a01e
1 changed files with 5 additions and 5 deletions
|
@ -1066,13 +1066,13 @@ void R_ParseSPRTINFOLump(UINT16 wadNum, UINT16 lumpNum)
|
|||
sprinfoToken = M_GetToken(sprinfoText);
|
||||
while (sprinfoToken != NULL)
|
||||
{
|
||||
if (!stricmp(sprinfoToken, "SPRITE") || !stricmp(sprinfoToken, "SPRITE2"))
|
||||
{
|
||||
R_ParseSpriteInfo(!stricmp(sprinfoToken, "SPRITE2"));
|
||||
Z_Free(sprinfoToken);
|
||||
}
|
||||
if (!stricmp(sprinfoToken, "SPRITE"))
|
||||
R_ParseSpriteInfo(false);
|
||||
else if (!stricmp(sprinfoToken, "SPRITE2"))
|
||||
R_ParseSpriteInfo(true);
|
||||
else
|
||||
I_Error("Error parsing SPRTINFO lump: Unknown keyword \"%s\"", sprinfoToken);
|
||||
Z_Free(sprinfoToken);
|
||||
sprinfoToken = M_GetToken(NULL);
|
||||
}
|
||||
Z_Free((void *)sprinfoText);
|
||||
|
|
Loading…
Reference in a new issue