diff --git a/Binaries/Win64/UE4Editor-PBCharacterMovement.dll b/Binaries/Win64/UE4Editor-PBCharacterMovement.dll index d258717..ff4b6fe 100644 Binary files a/Binaries/Win64/UE4Editor-PBCharacterMovement.dll and b/Binaries/Win64/UE4Editor-PBCharacterMovement.dll differ diff --git a/Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp b/Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp index 781db65..e9971e0 100644 --- a/Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp +++ b/Source/PBCharacterMovement/Private/Character/PBPlayerMovement.cpp @@ -879,7 +879,7 @@ void UPBPlayerMovement::OnMovementModeChanged(EMovementMode PreviousMovementMode /*UPBGameplayStatics::PlaySound(Sound, GetCharacterOwner(), // FVector(0.0f, 0.0f, -GetCharacterOwner()->GetCapsuleComponent()->GetScaledCapsuleHalfHeight()), EPBSoundCategory::Footstep);*/ - + UGameplayStatics::SpawnSoundAttached(Sound, GetCharacterOwner()->GetRootComponent()); } }