Skip to content

Commit 8857d00

Browse files
committed
pragma disable
1 parent fe89e2a commit 8857d00

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/game/shared/util_shared.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,9 @@ int UTIL_CalcFrustumThroughConvexPolygon( const Vector *pPolyVertices, int iPoly
18371837
i3 = (iMinSideFirstPoint + 1)%(iOldVertCount);
18381838
i4 = (iMinSideFirstPoint + 2)%(iOldVertCount);
18391839

1840+
#pragma warning disable C4459 // declaration of 'p4' hides global declaration
18401841
Vector *p1, *p2, *p3, *p4;
1842+
#pragma warning restore C4459
18411843
p1 = &pClippedVerts[i1];
18421844
p2 = &pClippedVerts[i2];
18431845
p3 = &pClippedVerts[i3]; //this is the one we'll actually be dropping in the merge

0 commit comments

Comments
 (0)