Removed compiler warnings (code is correct, but people might get
confused about && abd || precedence). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -508,7 +508,7 @@ X##_yflip.LowerRightCorner.Y = w->dest_y + (w->dest_y2 - w->dest_y) - y1;}
|
||||
|
||||
SColor* colorptr = NULL;
|
||||
|
||||
if (w->r != -1 && w->g != -1 && w->b != -1 || ID_DEBUG)
|
||||
if ( (w->r != -1 && w->g != -1 && w->b != -1) || ID_DEBUG)
|
||||
{
|
||||
SColor thecolor(255, w->r, w->g, w->b);
|
||||
colorptr = new SColor[4]();
|
||||
|
||||
Reference in New Issue
Block a user