From ab296ff97e03012f2cf9c0123d9e3059f242022d Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 16 Sep 2020 02:19:22 -0400 Subject: [PATCH] CFlyingPirate: Remove GroundCollider in Jump --- Runtime/MP1/World/CFlyingPirate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/MP1/World/CFlyingPirate.cpp b/Runtime/MP1/World/CFlyingPirate.cpp index 5aa4fe078..a92108540 100644 --- a/Runtime/MP1/World/CFlyingPirate.cpp +++ b/Runtime/MP1/World/CFlyingPirate.cpp @@ -1,8 +1,8 @@ #include "Runtime/MP1/World/CFlyingPirate.hpp" -#include "Runtime/Character/CPASAnimParmData.hpp" #include "Runtime/CSimplePool.hpp" #include "Runtime/CStateManager.hpp" +#include "Runtime/Character/CPASAnimParmData.hpp" #include "Runtime/GameGlobalObjects.hpp" #include "Runtime/Graphics/CBooRenderer.hpp" #include "Runtime/MP1/World/CSpacePirate.hpp" @@ -898,6 +898,7 @@ void CFlyingPirate::Jump(CStateManager& mgr, EStateMsg msg, float) { if (msg == EStateMsg::Activate) { x450_bodyController->SetLocomotionType(pas::ELocomotionType::Combat); x328_25_verticalMovement = true; + RemoveMaterial(EMaterialTypes::GroundCollider, mgr); x150_momentum.zeroOut(); x888_ = 10.f; UpdateParticleEffects(mgr, 1.f, true);