diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-02-10 02:13:03 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-02-10 02:13:03 +0200 |
commit | 1704badc306fc8c7c6609aff9f809aee3ac00d3a (patch) | |
tree | 76e1ba37bb0ec12bb744a6015f56613ba088e148 /src/environment.cpp | |
parent | 949383a2f7c0707667f76615fc748ff4879e2cc1 (diff) | |
download | minetest-1704badc306fc8c7c6609aff9f809aee3ac00d3a.tar.xz |
work-in-progress texture atlas optimization
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index e8a01a4a1..ecf853b7c 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -118,9 +118,9 @@ void Environment::step(float dtime) /* Apply water resistance */ - if(player->in_water_stable) + if(player->in_water_stable || player->in_water) { - f32 max_down = 1.5*BS; + f32 max_down = 2.0*BS; if(speed.Y < -max_down) speed.Y = -max_down; f32 max = 2.5*BS; |