From 69e5b7c199643e60c8a71d322ce07071d5f4e674 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 30 Nov 2024 21:44:23 +0100 Subject: [PATCH] this is null anyways if disabled --- src/hardware/hw_main.c | 2 +- src/r_things.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index d1d1040ed..11e18ccb9 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -4822,7 +4822,7 @@ static void HWR_ProjectSprite(mobj_t *thing) vis->spriteyoffset = FIXED_TO_FLOAT(spr_topoffset); #ifdef ROTSPRITE - if (rotsprite && cv_spriteroll.value) + if (rotsprite != NULL) vis->gpatch = (GLPatch_t *)rotsprite; else #endif diff --git a/src/r_things.c b/src/r_things.c index e965a06ce..d398e8bbd 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -1750,7 +1750,7 @@ static void R_ProjectSprite(mobj_t *thing) //Fab: lumppat is the lump number of the patch to use, this is different // than lumpid for sprites-in-pwad : the graphics are patched #ifdef ROTSPRITE - if ((rotsprite != NULL) && (cv_spriteroll.value)) + if (rotsprite != NULL) vis->patch = rotsprite; else #endif