games/digger: Fix flying trees
This commit is contained in:
parent
6967ff6c9f
commit
ed741ed353
@ -245,7 +245,7 @@ struct Module: public interface::Module
|
||||
}
|
||||
y++;*/
|
||||
double a = interface::NoisePerlin2D(&np, x, z, 0);
|
||||
int y = a + 11.5;
|
||||
int y = a + 11.0;
|
||||
if(y < lc.getY() - 5 || y > uc.getY() - 5)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user