Fix swimming bug

This commit is contained in:
OttoLidenbrock 2015-05-17 00:30:22 +10:00
parent 00adfc0430
commit c27ae07f46
1 changed files with 1 additions and 1 deletions

View File

@ -2115,7 +2115,7 @@ void ClientEnvironment::step(float dtime)
f32 dtime_downcount = dtime;
free_move |= (lplayer->in_liquid || lplayer->in_liquid_stable)
&& (fabs(lplayer->getSpeed().X) > .001 && fabs(lplayer->getSpeed().Y > 0.001));
&& (fabs(lplayer->getSpeed().X) > .1 || fabs(lplayer->getSpeed().Z > .1));
/*
Stuff that has a maximum time increment