mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Fix Skyfire (you have to destroytarget the doors)
This commit is contained in:
@@ -28,6 +28,8 @@ struct FGuid
|
||||
}
|
||||
};
|
||||
|
||||
// #define PE_SAFETY
|
||||
|
||||
class UObject
|
||||
{
|
||||
public:
|
||||
@@ -42,12 +44,28 @@ public:
|
||||
|
||||
/* virtual */ void ProcessEvent(UFunction* Function, void* Parms = nullptr)
|
||||
{
|
||||
#ifdef PE_SAFETY
|
||||
if (!Function)
|
||||
{
|
||||
LOG_INFO(LogDev, "TRIED CALLING INVALID PE FUNC! Ignoring.");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// LOG_INFO(LogDev, "PE: 0x{:x}", __int64(ProcessEventOriginal) - __int64(GetModuleHandleW(0)));
|
||||
ProcessEventOriginal(this, Function, Parms);
|
||||
}
|
||||
|
||||
/* virtual */ void ProcessEvent(UFunction* Function, void* Parms = nullptr) const
|
||||
{
|
||||
#ifdef PE_SAFETY
|
||||
if (!Function)
|
||||
{
|
||||
LOG_INFO(LogDev, "TRIED CALLING INVALID PE FUNC! Ignoring.");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// LOG_INFO(LogDev, "PE: 0x{:x}", __int64(ProcessEventOriginal) - __int64(GetModuleHandleW(0)));
|
||||
ProcessEventOriginal(this, Function, Parms);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user