diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-12-06 15:27:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 15:27:42 +0300 |
commit | 14eb0cd286483dd14ac110658360ecd76199390c (patch) | |
tree | 6f8fd743f4a981ef14670f0307f77f526a67a845 /src | |
parent | efb28b888d4ed89e1f8fc770a66ddfd7e03f4942 (diff) |
fixed parenthesis
Diffstat (limited to 'src')
-rw-r--r-- | src/control/Garages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 96391914..33137c69 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -1046,8 +1046,8 @@ void CGarage::Update() // Close car doors either if player is far, or if he is in vehicle and garage is full, // or if player is very very far so that we can remove whatever is blocking garage door without him noticing if ((distance > SQR(DISTANCE_TO_CLOSE_HIDEOUT_GARAGE_IN_CAR) || - !FindPlayerVehicle() && distance > SQR(DISTANCE_TO_CLOSE_HIDEOUT_GARAGE_ON_FOOT) && - !IsAnyCarBlockingDoor())) + !FindPlayerVehicle() && distance > SQR(DISTANCE_TO_CLOSE_HIDEOUT_GARAGE_ON_FOOT)) && + !IsAnyCarBlockingDoor()) m_eGarageState = GS_CLOSING; else if (FindPlayerVehicle() && CountCarsWithCenterPointWithinGarage(FindPlayerVehicle()) >= |