Skip to content

Commit

Permalink
fix: missing SpawnSoundAttached for jump/land sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercoms committed Jun 6, 2019
1 parent d0c4d33 commit 79d8e1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Binaries/Win64/UE4Editor-PBCharacterMovement.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 79d8e1f

Please sign in to comment.