From 1de5b777101febf6bcd09326d5278cfc9c16cd4a Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Wed, 5 Jan 2022 23:47:05 +0100 Subject: [PATCH] Fix typo --- src/p_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 717d2ddce..e3b71baef 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -5879,7 +5879,7 @@ static void P_ConvertBinaryLinedefFlags(void) if (lines[i].flags & ML_DONTPEGTOP) lines[i].flags |= ML_SKEWTD; else - lines[i].flags = ~ML_SKEWTD; + lines[i].flags &= ~ML_SKEWTD; if ((lines[i].flags & ML_TFERLINE) && lines[i].frontsector) { @@ -5890,7 +5890,7 @@ static void P_ConvertBinaryLinedefFlags(void) if (lines[i].frontsector->lines[j]->flags & ML_DONTPEGTOP) lines[i].frontsector->lines[j]->flags |= ML_SKEWTD; else - lines[i].frontsector->lines[j]->flags = ~ML_SKEWTD; + lines[i].frontsector->lines[j]->flags &= ~ML_SKEWTD; } } }