diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-12-06 13:27:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 13:27:42 +0100 |
commit | 14eb0cd286483dd14ac110658360ecd76199390c (patch) | |
tree | 6f8fd743f4a981ef14670f0307f77f526a67a845 | |
parent | fixed ANCHOR_BOAT (diff) | |
download | re3-14eb0cd286483dd14ac110658360ecd76199390c.tar re3-14eb0cd286483dd14ac110658360ecd76199390c.tar.gz re3-14eb0cd286483dd14ac110658360ecd76199390c.tar.bz2 re3-14eb0cd286483dd14ac110658360ecd76199390c.tar.lz re3-14eb0cd286483dd14ac110658360ecd76199390c.tar.xz re3-14eb0cd286483dd14ac110658360ecd76199390c.tar.zst re3-14eb0cd286483dd14ac110658360ecd76199390c.zip |
-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()) >= |