mirror of https://github.com/AxioDL/metaforce.git
CFlyingPirate: Remove GroundCollider in Jump
This commit is contained in:
parent
5b44ac143d
commit
ab296ff97e
|
@ -1,8 +1,8 @@
|
||||||
#include "Runtime/MP1/World/CFlyingPirate.hpp"
|
#include "Runtime/MP1/World/CFlyingPirate.hpp"
|
||||||
|
|
||||||
#include "Runtime/Character/CPASAnimParmData.hpp"
|
|
||||||
#include "Runtime/CSimplePool.hpp"
|
#include "Runtime/CSimplePool.hpp"
|
||||||
#include "Runtime/CStateManager.hpp"
|
#include "Runtime/CStateManager.hpp"
|
||||||
|
#include "Runtime/Character/CPASAnimParmData.hpp"
|
||||||
#include "Runtime/GameGlobalObjects.hpp"
|
#include "Runtime/GameGlobalObjects.hpp"
|
||||||
#include "Runtime/Graphics/CBooRenderer.hpp"
|
#include "Runtime/Graphics/CBooRenderer.hpp"
|
||||||
#include "Runtime/MP1/World/CSpacePirate.hpp"
|
#include "Runtime/MP1/World/CSpacePirate.hpp"
|
||||||
|
@ -898,6 +898,7 @@ void CFlyingPirate::Jump(CStateManager& mgr, EStateMsg msg, float) {
|
||||||
if (msg == EStateMsg::Activate) {
|
if (msg == EStateMsg::Activate) {
|
||||||
x450_bodyController->SetLocomotionType(pas::ELocomotionType::Combat);
|
x450_bodyController->SetLocomotionType(pas::ELocomotionType::Combat);
|
||||||
x328_25_verticalMovement = true;
|
x328_25_verticalMovement = true;
|
||||||
|
RemoveMaterial(EMaterialTypes::GroundCollider, mgr);
|
||||||
x150_momentum.zeroOut();
|
x150_momentum.zeroOut();
|
||||||
x888_ = 10.f;
|
x888_ = 10.f;
|
||||||
UpdateParticleEffects(mgr, 1.f, true);
|
UpdateParticleEffects(mgr, 1.f, true);
|
||||||
|
|
Loading…
Reference in New Issue