Move away from using sRand or rRand. What do those do? Can you tell what they do just by looking at them? Can you tell they return a random value between LOW and HIGH? No.
Try something like this:
Much more obvious as to what they do.Code:float GetRandomFloat(); float GetRandomFloatInRange(); float GetRandomFloatEx() int GetRandomInteger(); int GetRandomIntegerInRange() int GetRandomIntegerEx()