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:
Lee Salzman
2011-01-15 21:20:31 +00:00
parent 6285f5758a
commit 32d96b2be4
12 changed files with 99 additions and 96 deletions
-1
View File
@@ -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++)