Fix some of the things clang --analyze flagged
This commit is contained in:
parent
352cd151e0
commit
98360bcd57
34 changed files with 58 additions and 112 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue