This commit is contained in:
Rafal 2024-11-11 20:10:19 +00:00
parent ebd2c82565
commit 3462c56fbb

View File

@ -8,7 +8,7 @@ AMonolithGameMode::AMonolithGameMode()
: Super() : Super()
{ {
// set default pawn class to our Blueprinted character // set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnClassFinder(TEXT("/Game/FirstPerson/Blueprints/BP_FirstPersonCharacter")); // static ConstructorHelpers::FClassFinder<APawn> PlayerPawnClassFinder(TEXT("/Game/FirstPerson/Blueprints/BP_FirstPersonCharacter"));
DefaultPawnClass = PlayerPawnClassFinder.Class; // DefaultPawnClass = PlayerPawnClassFinder.Class;
} }