mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'zesterer/small-fixes' into 'master'
Better fog See merge request veloren/veloren!349
This commit is contained in:
commit
02180db437
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user