mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 16:14:08 +00:00
commit
0d7fa6df3c
12 changed files with 2194 additions and 20 deletions
|
@ -1027,7 +1027,9 @@ CShadows::CastShadowEntity(CEntity *pEntity, float fStartX, float fStartY, floa
|
|||
CColTrianglePlane *pColTriPlanes = pCol->trianglePlanes;
|
||||
ASSERT(pColTriPlanes != NULL);
|
||||
|
||||
if ( Abs(pColTriPlanes[i].normal.z) > 0.1f )
|
||||
CVector normal;
|
||||
pColTriPlanes[i].GetNormal(normal);
|
||||
if ( Abs(normal.z) > 0.1f )
|
||||
{
|
||||
CColTriangle *pColTri = pCol->triangles;
|
||||
ASSERT(pColTri != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue