diff --git a/src/r_things.c b/src/r_things.c index 9441804b1..3108a82fc 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -261,7 +261,9 @@ boolean R_AddSingleSpriteDef(const char *sprname, spritedef_t *spritedef, UINT16 for (l = startlump; l < endlump; l++) { - if (memcmp(lumpinfo[l].name,sprname,4)==0) + if (memcmp(lumpinfo[l].name,sprname,4)) + continue; + { INT32 width, height; INT16 topoffset, leftoffset;