summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/control')
-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)