- added GCC warning -Wstrict-prototypes

- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
This commit is contained in:
2010-12-03 12:30:59 +00:00
parent aca76ddb50
commit cd97253502
137 changed files with 402 additions and 432 deletions

View File

@@ -174,7 +174,7 @@ static void setRndSeed(int seed)
}
/* float number in range [0, 1) using the mersenne twister rng */
static float frand()
static float frand(void)
{
unsigned long y;