fix weirdness in random numbers and ray creation
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6005 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -55,7 +55,6 @@ float perlinnoise_2D(float x, float y, int seedstep, float pers)
|
||||
|
||||
void perlinarea(block &b, int scale, int seed, int psize)
|
||||
{
|
||||
srand(seed);
|
||||
seed = rnd(10000);
|
||||
if(!scale) scale = 10;
|
||||
for(int y = b.y; y<=b.y+b.ys; y++) for(int x = b.x; x<=b.x+b.xs; x++)
|
||||
|
||||
Reference in New Issue
Block a user