mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
aa
This commit is contained in:
13
Project Reboot 3.0/FortPlayerControllerAthena.cpp
Normal file
13
Project Reboot 3.0/FortPlayerControllerAthena.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "FortPlayerControllerAthena.h"
|
||||
|
||||
void AFortPlayerControllerAthena::GetPlayerViewPointHook(AFortPlayerControllerAthena* PlayerController, FVector& Location, FRotator& Rotation)
|
||||
{
|
||||
if (auto MyFortPawn = PlayerController->GetMyFortPawn())
|
||||
{
|
||||
Location = MyFortPawn->GetActorLocation();
|
||||
Rotation = PlayerController->GetControlRotation();
|
||||
return;
|
||||
}
|
||||
|
||||
return AFortPlayerControllerAthena::GetPlayerViewPointOriginal(PlayerController, Location, Rotation);
|
||||
}
|
||||
Reference in New Issue
Block a user