forked from oerkki/voxelands
some sapling tweaks
This commit is contained in:
parent
8c3aeeb970
commit
c51d7c5555
|
@ -1286,13 +1286,13 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
|
|||
{
|
||||
video::S3DVertex vertices[4] =
|
||||
{
|
||||
video::S3DVertex(-BS/2,-BS/2,0, 0,0,0, c,
|
||||
video::S3DVertex(-BS/3,-BS/2,0, 0,0,0, c,
|
||||
pa_sapling.x0(), pa_sapling.y1()),
|
||||
video::S3DVertex(BS/2,-BS/2,0, 0,0,0, c,
|
||||
video::S3DVertex(BS/3,-BS/2,0, 0,0,0, c,
|
||||
pa_sapling.x1(), pa_sapling.y1()),
|
||||
video::S3DVertex(BS/2,BS/1,0, 0,0,0, c,
|
||||
video::S3DVertex(BS/3,BS/3,0, 0,0,0, c,
|
||||
pa_sapling.x1(), pa_sapling.y0()),
|
||||
video::S3DVertex(-BS/2,BS/1,0, 0,0,0, c,
|
||||
video::S3DVertex(-BS/3,BS/3,0, 0,0,0, c,
|
||||
pa_sapling.x0(), pa_sapling.y0()),
|
||||
};
|
||||
|
||||
|
|
|
@ -1099,7 +1099,7 @@ void ServerEnvironment::step(float dtime)
|
|||
*/
|
||||
if(n.getContent() == CONTENT_SAPLING)
|
||||
{
|
||||
if(myrand()%30 == 0)
|
||||
if(myrand()%10 == 0)
|
||||
{
|
||||
s16 max_y = 7;
|
||||
s16 max_o = 2;
|
||||
|
|
Loading…
Reference in New Issue