mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
fixed parenthesis
This commit is contained in:
parent
efb28b888d
commit
14eb0cd286
@ -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,
|
// 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
|
// 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) ||
|
if ((distance > SQR(DISTANCE_TO_CLOSE_HIDEOUT_GARAGE_IN_CAR) ||
|
||||||
!FindPlayerVehicle() && distance > SQR(DISTANCE_TO_CLOSE_HIDEOUT_GARAGE_ON_FOOT) &&
|
!FindPlayerVehicle() && distance > SQR(DISTANCE_TO_CLOSE_HIDEOUT_GARAGE_ON_FOOT)) &&
|
||||||
!IsAnyCarBlockingDoor()))
|
!IsAnyCarBlockingDoor())
|
||||||
m_eGarageState = GS_CLOSING;
|
m_eGarageState = GS_CLOSING;
|
||||||
else if (FindPlayerVehicle() &&
|
else if (FindPlayerVehicle() &&
|
||||||
CountCarsWithCenterPointWithinGarage(FindPlayerVehicle()) >=
|
CountCarsWithCenterPointWithinGarage(FindPlayerVehicle()) >=
|
||||||
|
Loading…
Reference in New Issue
Block a user