mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 01:14:09 +00:00
CEntity and friends
This commit is contained in:
parent
8a90e32f1b
commit
bdbe5d1080
26 changed files with 581 additions and 650 deletions
|
@ -1245,9 +1245,11 @@ CRenderer::ShouldModelBeStreamed(CEntity *ent, const CVector &campos)
|
|||
void
|
||||
CRenderer::RemoveVehiclePedLights(CEntity *ent, bool reset)
|
||||
{
|
||||
if(ent->bRenderScorched)
|
||||
return;
|
||||
CPointLights::RemoveLightsAffectingObject();
|
||||
if(reset)
|
||||
ReSetAmbientAndDirectionalColours();
|
||||
if(!ent->bRenderScorched){
|
||||
CPointLights::RemoveLightsAffectingObject();
|
||||
if(reset)
|
||||
ReSetAmbientAndDirectionalColours();
|
||||
}
|
||||
SetAmbientColours();
|
||||
DeActivateDirectional();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue