mirror of
https://github.com/halpz/re3.git
synced 2025-05-12 05:26:40 +03:00
more CAutomobile
This commit is contained in:
parent
b26e83fc6e
commit
74fcbc8c0a
17 changed files with 395 additions and 36 deletions
|
@ -1160,7 +1160,7 @@ CRenderer::IsVehicleCullZoneVisible(CEntity *ent)
|
|||
case STATUS_PHYSICS:
|
||||
case STATUS_ABANDONED:
|
||||
case STATUS_WRECKED:
|
||||
return !(v->m_pCurSurface && v->m_pCurSurface->bZoneCulled2);
|
||||
return !(v->m_pCurGroundEntity && v->m_pCurGroundEntity->bZoneCulled2);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue