this is null anyways if disabled
This commit is contained in:
1 parent
5e46b9de60
commit
69e5b7c199
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user