mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
2.4.2 & zone times proper
This commit is contained in:
11
Project Reboot 3.0/Controller.cpp
Normal file
11
Project Reboot 3.0/Controller.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "Controller.h"
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
AActor* AController::GetViewTarget()
|
||||
{
|
||||
static auto GetViewTargetFn = FindObject<UFunction>("/Script/Engine.Controller.GetViewTarget");
|
||||
AActor* ViewTarget = nullptr;
|
||||
this->ProcessEvent(GetViewTargetFn, &ViewTarget);
|
||||
return ViewTarget;
|
||||
}
|
||||
Reference in New Issue
Block a user