mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
Fix view bobbing reduction speed
This commit is contained in:
parent
c9dc343efa
commit
95125b2bf7
@ -76,7 +76,7 @@ namespace ClassicalSharp.Entities {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void DoTilt(ref float tilt, bool reduce) {
|
static void DoTilt(ref float tilt, bool reduce) {
|
||||||
if (reduce) tilt *= 0.93f;
|
if (reduce) tilt *= 0.84f;
|
||||||
else tilt += 0.1f;
|
else tilt += 0.1f;
|
||||||
Utils.Clamp(ref tilt, 0, 1);
|
Utils.Clamp(ref tilt, 0, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user