mirror of
https://github.com/halpz/re3.git
synced 2025-07-21 17:59:46 +00:00
some CAutomobile
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
class CEntity;
|
||||
class CVehicle;
|
||||
|
||||
class CFallingGlassPane : public CMatrix
|
||||
{
|
||||
@ -49,4 +50,7 @@ public:
|
||||
static void WindowRespondsToSoftCollision(CEntity *entity, float amount);
|
||||
static void WasGlassHitByBullet(CEntity *entity, CVector point);
|
||||
static void WindowRespondsToExplosion(CEntity *entity, CVector point);
|
||||
|
||||
//TODO(MIAMI)
|
||||
static void CarWindscreenShatters(CVehicle *vehicle, bool unk) {}
|
||||
};
|
@ -394,7 +394,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent)
|
||||
}
|
||||
return VIS_VISIBLE;
|
||||
}
|
||||
if(ent->m_flagE10){
|
||||
if(ent->bDontStream){
|
||||
if(ent->m_rwObject == nil || !ent->bIsVisible)
|
||||
return VIS_INVISIBLE;
|
||||
if(!ent->GetIsOnScreen() || ent->IsEntityOccluded())
|
||||
|
Reference in New Issue
Block a user