Revert "Zzz...."

This reverts commit e05197af882049e555c4116d1e6b4fd5ec4e879d.
This commit is contained in:
Alug committed 2024-03-13 08:35:24 +01:00
1 parent 77a0e8213b
commit cd7079da92
1 file changed
+2 -2
+2 -2
View File
@@ -137,7 +137,7 @@ void P_ClosestPointOnLine3D(fixed_t x, fixed_t y, fixed_t z, line_t *line, verte
PUREFUNC FUNCINLINE ATTRINLINE INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *restrict line)
{
const vertex_t *v1 = line->v1;
fixed_t dx, dy, left, right;
fixed_t dx, dy;
if (!line->dx)
return x <= v1->x ? line->dy > 0 : line->dy < 0;
@@ -151,7 +151,7 @@ PUREFUNC FUNCINLINE ATTRINLINE INT32 P_PointOnLineSide(fixed_t x, fixed_t y, con
left = FixedMul(line->dy>>FRACBITS, dx);
right = FixedMul(dy, line->dx>>FRACBITS);
return (right < left) ? 0 : 1;
return right < left ? 0 : 1;
}
//