diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-13 00:55:47 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-13 00:55:47 +0100 |
commit | ec173550561d7cb36505853fed13967d5299cce1 (patch) | |
tree | 232709023f42a318c0588b61f4de2c91b724a5b1 /src/render | |
parent | Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs (diff) | |
parent | sync with lcs-dev (diff) | |
download | re3-ec173550561d7cb36505853fed13967d5299cce1.tar re3-ec173550561d7cb36505853fed13967d5299cce1.tar.gz re3-ec173550561d7cb36505853fed13967d5299cce1.tar.bz2 re3-ec173550561d7cb36505853fed13967d5299cce1.tar.lz re3-ec173550561d7cb36505853fed13967d5299cce1.tar.xz re3-ec173550561d7cb36505853fed13967d5299cce1.tar.zst re3-ec173550561d7cb36505853fed13967d5299cce1.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Fluff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp index be5c0d6f..e28ebc8e 100644 --- a/src/render/Fluff.cpp +++ b/src/render/Fluff.cpp @@ -936,7 +936,7 @@ CEscalator::AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, b m_lowerEnd = magnitudes[0] / length; m_upperEnd = (magnitudes[0] + magnitudes[1]) / length; - m_stepsCount = Max(24.0f, length / 0.6f); + m_stepsCount = Min(24.0f, length / 0.6f); CVector direction(m_pos0.x - m_pos1.x, m_pos0.y - m_pos1.y, 0.0f); direction.Normalise(); |