style: apply clang format
This commit is contained in:
		| @@ -11,16 +11,19 @@ AUTAD_UIGameMode::AUTAD_UIGameMode() | ||||
| 	PlayerControllerClass = AUTAD_UIPlayerController::StaticClass(); | ||||
|  | ||||
| 	// set default pawn class to our Blueprinted character | ||||
| 	static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/TopDown/Blueprints/BP_TopDownCharacter")); | ||||
| 	static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass( | ||||
| 		TEXT("/Game/TopDown/Blueprints/BP_TopDownCharacter")); | ||||
| 	if (PlayerPawnBPClass.Class != nullptr) | ||||
| 	{ | ||||
| 		DefaultPawnClass = PlayerPawnBPClass.Class; | ||||
| 	} | ||||
|  | ||||
| 	// set default controller to our Blueprinted controller | ||||
| 	static ConstructorHelpers::FClassFinder<APlayerController> PlayerControllerBPClass(TEXT("/Game/TopDown/Blueprints/BP_TopDownPlayerController")); | ||||
| 	if(PlayerControllerBPClass.Class != NULL) | ||||
| 	static ConstructorHelpers::FClassFinder<APlayerController> | ||||
| 		PlayerControllerBPClass( | ||||
| 			TEXT("/Game/TopDown/Blueprints/BP_TopDownPlayerController")); | ||||
| 	if (PlayerControllerBPClass.Class != NULL) | ||||
| 	{ | ||||
| 		PlayerControllerClass = PlayerControllerBPClass.Class; | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user