some sapling tweaks

This commit is contained in:
darkrose 2013-04-28 17:00:19 +10:00
parent 8c3aeeb970
commit c51d7c5555
2 changed files with 5 additions and 5 deletions

View File

@ -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()),
};

View File

@ -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;