1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 16:20:01 +00:00
This commit is contained in:
Nikolay Korolev 2020-04-08 14:06:27 +03:00 committed by GitHub
parent 7439d6482f
commit 8e29a5ec88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1679,7 +1679,7 @@ float CGarage::CalcDistToGarageRectangleSquared(float X, float Y)
else else
distX = 0.0f; distX = 0.0f;
if (Y < m_fY1) if (Y < m_fY1)
distY = m_fY1 - X; distY = m_fY1 - Y;
else if (Y > m_fY2) else if (Y > m_fY2)
distY = Y - m_fY2; distY = Y - m_fY2;
else else