mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 03:54:07 +00:00
Merge branch 'lcs' into lcs-dev
This commit is contained in:
commit
01d4312251
12 changed files with 165 additions and 116 deletions
|
@ -1562,7 +1562,7 @@ bool CGarage::IsAnyOtherCarTouchingGarage(CVehicle * pException)
|
|||
uint32 i = CPools::GetVehiclePool()->GetSize();
|
||||
while (i--) {
|
||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetSlot(i);
|
||||
if (!pVehicle || pVehicle == pException)
|
||||
if (!pVehicle || pVehicle == pException || pVehicle->GetStatus() == STATUS_WRECKED)
|
||||
continue;
|
||||
if (!IsEntityTouching3D(pVehicle))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue