Browse Source

Update rectClipper.cpp

== true is redundant.
Magtheridon96 12 years ago
parent
commit
2cb6333
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/math/rectClipper.cpp

+ 1 - 1
engine/source/math/rectClipper.cpp

@@ -116,7 +116,7 @@ RectClipper::clipLine(const Point2I& in_rStart,
       x2  = x1 + (t * dx);
    }
 
-   if (flipped == true) 
+   if (flipped)
    {
       out_rEnd.x   = S32(x1 + 0.5f);
       out_rEnd.y   = S32(y1 + 0.5f);