diff --git a/src/r_defs.h b/src/r_defs.h index c70cd1b5e..d6c4b6221 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -446,18 +446,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; };