added forgotten function

This commit is contained in:
Nikolay Korolev 2020-03-31 00:53:51 +03:00
parent 24e4ecf5bb
commit b3bfde0db0
1 changed files with 4 additions and 1 deletions

View File

@ -1859,7 +1859,10 @@ void CGarages::SetLeaveCameraForThisGarage(int16 garage)
aGarages[garage].m_bCameraFollowsPlayer = true;
}
WRAPPER bool CGarages::IsThisCarWithinGarageArea(int16 garage, CEntity * pCar) { EAXJMP(0x427570); }
bool CGarages::IsThisCarWithinGarageArea(int16 garage, CEntity * pCar)
{
aGarages[garage].IsEntityEntirelyInside3D(pCar, 0.0f);
}
bool CGarages::HasCarBeenCrushed(int32 handle)
{