diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 6c0474ee7..a42bf2b2c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1955,9 +1955,15 @@ 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); + 0.05+brightness*0.95, farmesh_range); } // Store brightness value |