mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 15:38:59 +00:00
bug fix
This commit is contained in:
parent
7439d6482f
commit
8e29a5ec88
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
@ -2358,4 +2358,4 @@ STARTPATCHES
|
||||||
InjectHook(0x427AB0, CGarages::IsPointInAGarageCameraZone, PATCH_JUMP); // CCamera::CamControl
|
InjectHook(0x427AB0, CGarages::IsPointInAGarageCameraZone, PATCH_JUMP); // CCamera::CamControl
|
||||||
InjectHook(0x427BC0, CGarages::CameraShouldBeOutside, PATCH_JUMP); // CCamera::CamControl
|
InjectHook(0x427BC0, CGarages::CameraShouldBeOutside, PATCH_JUMP); // CCamera::CamControl
|
||||||
InjectHook(0x428940, CGarages::Load, PATCH_JUMP); // GenericLoad
|
InjectHook(0x428940, CGarages::Load, PATCH_JUMP); // GenericLoad
|
||||||
ENDPATCHES
|
ENDPATCHES
|
||||||
|
|
Loading…
Reference in a new issue