mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
work-in-progress texture atlas optimization
This commit is contained in:
parent
949383a2f7
commit
1704badc30
21 changed files with 1496 additions and 271 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue