All pastes #1815616 Raw Edit

co

public text v1 · immutable
#1815616 ·published 2010-02-28 13:59 UTC
rendered paste body
diff --git a/src/wrappers.c b/src/wrappers.cindex 2254f4f..44c2a6a 100644--- a/src/wrappers.c+++ b/src/wrappers.c@@ -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; }