Fix last commit.

This commit is contained in:
Goodlyay 2016-11-09 20:39:21 -08:00
parent b33b142d6e
commit 39a15058ed

View File

@ -76,6 +76,7 @@ namespace ClassicalSharp.Entities {
}
static void DoTilt( ref float tilt, bool reduce ) {
if( reduce ) tilt *= 0.93f;
else tilt += 0.1f;
Utils.Clamp( ref tilt, 0, 1 );
}