summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-31 00:00:06 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-31 00:00:06 +0200
commit357d88a4a8e38a65298375a9a4b71255e4fce3a1 (patch)
tree4d3507f4c9dfcd851177211a16dd1bf209de081f /src/control/Garages.cpp
parentMerge branch 'master' of https://github.com/Nick007J/re3 (diff)
downloadre3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.tar
re3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.tar.gz
re3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.tar.bz2
re3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.tar.lz
re3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.tar.xz
re3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.tar.zst
re3-357d88a4a8e38a65298375a9a4b71255e4fce3a1.zip
Diffstat (limited to 'src/control/Garages.cpp')
-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)