Skip to content

Commit 0c2a9be

Browse files
authored
Merge pull request #38 from narukimato/patch-1
Fix build for UE5.1
2 parents 696fa03 + cd85517 commit 0c2a9be

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Source/PBCharacterMovement/Private/Character/PBPlayerCharacter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 1
88
#include "Engine/DamageEvents.h"
9+
#include "GameFramework/DamageType.h"
910
#endif
1011

1112
#include "Components/CapsuleComponent.h"

Source/PBCharacterMovement/Public/Character/PBPlayerMovement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class PBCHARACTERMOVEMENT_API UPBPlayerMovement : public UCharacterMovementCompo
193193
}
194194

195195
/** Is this player on a ladder? */
196-
UFUNCTION(BlueprintCallable)
196+
UFUNCTION(BlueprintCallable, Category = Gameplay)
197197
bool IsOnLadder() const
198198
{
199199
return bOnLadder;

0 commit comments

Comments
 (0)