diff options
author | Jiří Procházka <ojirio@gmail.com> | 2011-07-11 14:29:59 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-11 15:01:43 +0200 |
commit | 858b2d7439c45012ddbb3a66b24ba4f4f8204dc6 (patch) | |
tree | 15f496052c852748a9a2df95579be9c46803cdda /src/game.cpp | |
parent | 6103e59c19d6ff2817199fd6a684a67e8f43b12e (diff) | |
download | minetest-858b2d7439c45012ddbb3a66b24ba4f4f8204dc6.tar.gz minetest-858b2d7439c45012ddbb3a66b24ba4f4f8204dc6.tar.bz2 minetest-858b2d7439c45012ddbb3a66b24ba4f4f8204dc6.zip |
+ farmesh config options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game.cpp b/src/game.cpp index 5632c1805..367abebe1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1874,15 +1874,9 @@ void the_game( */ if(farmesh) { - farmesh_range = draw_control.wanted_range * 10; - if(draw_control.range_all && farmesh_range < 500) - farmesh_range = 500; - if(farmesh_range > 1000) - farmesh_range = 1000; - farmesh->step(dtime); farmesh->update(v2f(player_position.X, player_position.Z), - 0.05+brightness*0.95, farmesh_range); + 0.05+brightness*0.95); } // Store brightness value |