aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJiří Procházka <ojirio@gmail.com>2011-07-11 14:29:59 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-11 15:01:43 +0200
commit858b2d7439c45012ddbb3a66b24ba4f4f8204dc6 (patch)
tree15f496052c852748a9a2df95579be9c46803cdda /src/game.cpp
parent6103e59c19d6ff2817199fd6a684a67e8f43b12e (diff)
downloadminetest-858b2d7439c45012ddbb3a66b24ba4f4f8204dc6.tar.gz
minetest-858b2d7439c45012ddbb3a66b24ba4f4f8204dc6.tar.bz2
minetest-858b2d7439c45012ddbb3a66b24ba4f4f8204dc6.zip
+ farmesh config options
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
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