Fix some of the things clang --analyze flagged
This commit is contained in:
1 parent
352cd151e0
commit
98360bcd57
34 files changed
+58
-112
No files matched your search
@@ -1557,10 +1557,6 @@ static qboolean IsMirror( const drawSurf_t *drawSurf, int entityNum )
|
||||
// translate the original plane
|
||||
originalPlane.dist = originalPlane.dist + DotProduct( originalPlane.normal, tr.or.origin );
|
||||
}
|
||||
else
|
||||
{
|
||||
plane = originalPlane;
|
||||
}
|
||||
|
||||
// locate the portal entity closest to this plane.
|
||||
// origin will be the origin of the portal, origin2 will be
|
||||
|
||||
Reference in new issue
Block a user