git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1544
d7cf8633-e32d-0410-b094-
e92efae38249
if (color != dq->color)
{
color = dq->color;
- glColor4ub((byte)((color >> 24) & 0xFF) >> overbright, (byte)((color >> 16) & 0xFF) >> overbright, (byte)((color >> 8) & 0xFF) >> overbright, (byte)(color & 0xFF));
+ glColor4ub((byte)(((color >> 24) & 0xFF) >> overbright), (byte)(((color >> 16) & 0xFF) >> overbright), (byte)(((color >> 8) & 0xFF) >> overbright), (byte)(color & 0xFF));
}
x = dq->x;
y = dq->y;