From a044ea76f7154ed9748b1a17ae90d6b0daa262f1 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 16 May 2022 21:47:20 +0100 Subject: [PATCH] I made skin loading 2/15ths faster on my machine by inverting this jump conditional --- src/r_things.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;