Merge branch 'zesterer/small-fixes' into 'master'

Better fog

See merge request veloren/veloren!349
This commit is contained in:
Joshua Barretto 2019-07-21 08:16:56 +00:00
commit 02180db437

View File

@ -142,7 +142,7 @@ impl<'a> System<'a> for Sys {
}
// Set direction based on velocity when on the ground
if Vec2::<f32>::from(vel.0).magnitude_squared() > 0.1 && a.on_ground {
if Vec2::<f32>::from(vel.0).magnitude_squared() > 0.1 {
ori.0 = Lerp::lerp(
ori.0,
vel.0.normalized() * Vec3::new(1.0, 1.0, 0.0),