mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 13:21:20 +00:00
Fix short sprite names triggering an error
This commit is contained in:
parent
245a82112f
commit
22106ef8b1
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ boolean R_AddSingleSpriteDef(const char *sprname, spritedef_t *spritedef, UINT16
|
|||
|
||||
for (l = startlump; l < endlump; l++)
|
||||
{
|
||||
if (W_IsLumpFolder(wadnum, l))
|
||||
if (longname && W_IsLumpFolder(wadnum, l))
|
||||
I_Error("R_AddSingleSpriteDef: all frame lumps for a sprite should be contained inside a single folder\n");
|
||||
|
||||
// For long sprites, the startlump-endlump range only includes
|
||||
|
|
Loading…
Reference in a new issue