2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-13 15:26:09 +00:00

Bug fixes and CGuiFrame mouse events

This commit is contained in:
Jack Andersen
2019-01-19 20:43:11 -10:00
parent 851e113dc0
commit 47c6b5cba8
21 changed files with 118 additions and 46 deletions

View File

@@ -862,7 +862,7 @@ void CMorphBall::UpdateBallDynamics(CStateManager& mgr, float dt) {
x1c28_tireInterpSpeed = -1.f;
UpdateMarbleDynamics(mgr, dt, x1890_spiderTrackPoint);
} else {
if (x0_player.GetSurfaceRestraint() != CPlayer::ESurfaceRestraints::InAir) {
if (x0_player.GetSurfaceRestraint() != CPlayer::ESurfaceRestraints::Air) {
zeus::CVector3f normal, point;
if (CalculateBallContactInfo(normal, point)) {
x1924_surfaceToWorld = CalculateSurfaceToWorld(normal, point, x0_player.x500_lookDir);