dont need to extra check for this actually

This commit is contained in:
Alug committed 2024-02-01 03:48:17 +01:00
1 parent d92e7b138c
commit 429bcffaf8
1 file changed
+1 -1
+1 -1
View File
@@ -6482,7 +6482,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;