mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-29 13:23:43 +00:00
fix merge failure
This commit is contained in:
parent
c4f0b4fb6d
commit
8cdc6b5d7c
1 changed files with 0 additions and 38 deletions
|
@ -2489,41 +2489,3 @@ bool CGarage::IsPlayerEntirelyInsideGarage()
|
||||||
{
|
{
|
||||||
return IsEntityEntirelyInside3D(FindPlayerVehicle() ? (CEntity*)FindPlayerVehicle() : (CEntity*)FindPlayerPed(), 0.0f);
|
return IsEntityEntirelyInside3D(FindPlayerVehicle() ? (CEntity*)FindPlayerVehicle() : (CEntity*)FindPlayerPed(), 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGarages::StopCarFromBlowingUp(CAutomobile* pCar)
|
|
||||||
{
|
|
||||||
pCar->m_fFireBlowUpTimer = 0.0f;
|
|
||||||
pCar->m_fHealth = Max(pCar->m_fHealth, 300.0f);
|
|
||||||
pCar->Damage.SetEngineStatus(Max(pCar->Damage.GetEngineStatus(), 275));
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CGarage::Does60SecondsNeedThisCarAtAll(int mi)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < ARRAY_SIZE(gaCarsToCollectIn60Seconds); i++) {
|
|
||||||
if (gaCarsToCollectIn60Seconds[i] == mi)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CGarage::Does60SecondsNeedThisCar(int mi)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < ARRAY_SIZE(gaCarsToCollectIn60Seconds); i++) {
|
|
||||||
if (gaCarsToCollectIn60Seconds[i] == mi)
|
|
||||||
return m_bCollectedCarsState & BIT(i);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CGarage::MarkThisCarAsCollectedFor60Seconds(int mi)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < ARRAY_SIZE(gaCarsToCollectIn60Seconds); i++) {
|
|
||||||
if (gaCarsToCollectIn60Seconds[i] == mi)
|
|
||||||
m_bCollectedCarsState |= BIT(i);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CGarage::IsPlayerEntirelyInsideGarage()
|
|
||||||
{
|
|
||||||
return IsEntityEntirelyInside3D(FindPlayerVehicle() ? (CEntity*)FindPlayerVehicle() : (CEntity*)FindPlayerPed(), 0.0f);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue