diff options
author | aap <aap@papnet.eu> | 2020-05-27 22:32:33 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-31 17:05:59 +0200 |
commit | c1e13177a1bbc6ce17d1ddc14cecc74cb278b853 (patch) | |
tree | e28cfc9af27dd1c50cbd1afba1add09f53853c49 /src/render | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
download | re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.gz re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.bz2 re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.lz re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.xz re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.tar.zst re3-c1e13177a1bbc6ce17d1ddc14cecc74cb278b853.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Glass.h | 4 | ||||
-rw-r--r-- | src/render/Renderer.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/render/Glass.h b/src/render/Glass.h index 51c5aae9..736e5205 100644 --- a/src/render/Glass.h +++ b/src/render/Glass.h @@ -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) {} };
\ No newline at end of file diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index f149c6fb..6ac10cb0 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -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()) |