From e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 14 Mar 2015 00:59:53 +0000 Subject: Fixed grass spread, closes #1743 - Removed the salt parameter in cFastRandom functions, it wasn't doing what we thought it was following the move to C++11 --- src/FastRandom.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/FastRandom.h') diff --git a/src/FastRandom.h b/src/FastRandom.h index 64a087c97..30395a293 100644 --- a/src/FastRandom.h +++ b/src/FastRandom.h @@ -36,16 +36,10 @@ public: /** Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M */ int NextInt(int a_Range); - - /** Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M; a_Salt is additional source of randomness */ - int NextInt(int a_Range, int a_Salt); /** Returns a random float in the range [0 .. a_Range]; a_Range must be less than 1M */ float NextFloat(float a_Range); - /** Returns a random float in the range [0 .. a_Range]; a_Range must be less than 1M; a_Salt is additional source of randomness */ - float NextFloat(float a_Range, int a_Salt); - /** Returns a random float between 0 and 1. */ float NextFloat(void) { return NextFloat(1); } -- cgit v1.2.3