summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-31 01:00:06 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-31 01:00:06 +0300
commit357d88a4a8e38a65298375a9a4b71255e4fce3a1 (patch)
tree4d3507f4c9dfcd851177211a16dd1bf209de081f /src
parent2a1b11e1dc9f4a7aa88355b670dd11fcd4127a1d (diff)
fix
Diffstat (limited to 'src')
-rw-r--r--src/control/Garages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp
index 805a2f5d..aabad1a6 100644
--- a/src/control/Garages.cpp
+++ b/src/control/Garages.cpp
@@ -1861,7 +1861,7 @@ void CGarages::SetLeaveCameraForThisGarage(int16 garage)
bool CGarages::IsThisCarWithinGarageArea(int16 garage, CEntity * pCar)
{
- aGarages[garage].IsEntityEntirelyInside3D(pCar, 0.0f);
+ return aGarages[garage].IsEntityEntirelyInside3D(pCar, 0.0f);
}
bool CGarages::HasCarBeenCrushed(int32 handle)