mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed: segplane_t::SetAtHeight initialized the plane normal's Z incorrectly.
This commit is contained in:
parent
fd27c8db9e
commit
fadc7d650d
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue