Fixes falling though map when using charge on a hill.

This commit is contained in:
hondacrx
2022-07-20 01:39:25 -04:00
parent 1ae937efe5
commit 17f3eab338
6 changed files with 15 additions and 8 deletions
@@ -254,7 +254,7 @@ public static partial class Detour
if (u >= 0.0f && v >= 0.0f && (u + v) <= denom)
{
h = a[1] + (v0[1] * u + v1[1] * v) / denom;
h = a[aStart + 1] + (v0[1] * u + v1[1] * v) / denom;
return true;
}