diff --git a/src/r_defs.h b/src/r_defs.h index 0225fe867..91f81be1c 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -470,18 +470,18 @@ public: normal.X = normal.Y = 0; if (ceiling) { - normal.Z = negiC = 1; + normal.Z = -1; + negiC = 1; D = height; } else { - normal.Z = negiC = -1; + normal.Z = 1; + negiC = -1; D = -height; } } - inline void SetAtHeight(fixed_t height, int ceiling) = delete; - bool CopyPlaneIfValid (secplane_t *dest, const secplane_t *opp) const; };