dont need to extra check for this actually

This commit is contained in:
Alug committed 2024-02-01 03:48:23 +01:00
1 parent 8a8d997fad
commit 5ae85b005a
1 file changed
+1 -1
+1 -1
View File
@@ -6489,7 +6489,7 @@ void P_MobjThinker(mobj_t *mobj)
return;
}
if (mobj->state == &states[S_SHADOW] && (cv_sloperoll.value == 2 && cv_spriteroll.value))
if (mobj->state == &states[S_SHADOW] && cv_sloperoll.value == 2)
{
mobj->slopepitch = mobj->target->slopepitch;
mobj->sloperoll = mobj->target->sloperoll;