mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-22 22:46:12 +00:00
Deobfuscate the R_ParseSpriteInfo call
This commit is contained in:
parent
1ca3bd7725
commit
befdbec5bd
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…
Add table
Reference in a new issue