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:
hikerstk
2010-01-20 01:13:58 +00:00
parent 81d074a694
commit a37bb29ff0

View File

@@ -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]();