Don't put random colours in the loading bar.
Make every star have a random grey value instead. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10054 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
f875b678ac
commit
f762bdf40e
|
@ -87,16 +87,8 @@ BOOL hostlaunch = false; // used to detect if we are hosting a game via comma
|
|||
static PIELIGHT randColour(void)
|
||||
{
|
||||
PIELIGHT colour;
|
||||
colour.byte.r = 200;
|
||||
colour.byte.g = 200;
|
||||
colour.byte.b = 200;
|
||||
colour.byte.r = colour.byte.g = colour.byte.b = 150 + rand() % 100;
|
||||
colour.byte.a = 255;
|
||||
if (rand()%15 == 0)
|
||||
{
|
||||
colour.byte.r = rand()%256;
|
||||
colour.byte.g = rand()%256;
|
||||
colour.byte.b = rand()%256;
|
||||
}
|
||||
return colour;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue