mirror of
https://github.com/halpz/re3.git
synced 2025-05-12 05:56:38 +03:00
CAutomobile::PreRender; whole class finished
This commit is contained in:
parent
8de701dd70
commit
6ff921c160
18 changed files with 764 additions and 38 deletions
|
@ -359,10 +359,10 @@ CRenderer::SetupEntityVisibility(CEntity *ent)
|
|||
ent->GetModelIndex() == MI_RHINO ||
|
||||
ent->GetModelIndex() == MI_COACH ||
|
||||
TheCamera.m_bInATunnelAndABigVehicle){
|
||||
ent->m_flagD40 = true;
|
||||
ent->bNoBrightHeadLights = true;
|
||||
}else{
|
||||
m_pFirstPersonVehicle = (CVehicle*)ent;
|
||||
ent->m_flagD40 = false;
|
||||
ent->bNoBrightHeadLights = false;
|
||||
}
|
||||
return VIS_OFFSCREEN;
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue