File diff r15017:fb9c32d7987c → r15018:e5877a75e843
src/core/random_func.hpp
Show inline comments
 
@@ -99,8 +99,9 @@ void SetRandomSeed(uint32 seed);
 
		return _random.Next();
 
	}
 

	
 
	static FORCEINLINE uint32 RandomRange(uint16 max)
 
	static FORCEINLINE uint32 RandomRange(uint max)
 
	{
 
		assert(max <= UINT16_MAX);
 
		return _random.Next(max);
 
	}
 
#endif