mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a bit
fix restarting, add cheat teleport and help, build free and infinite ammo, fix restarting on c1, fix some gui issues.
This commit is contained in:
14
Project Reboot 3.0/FortVolumeManager.cpp
Normal file
14
Project Reboot 3.0/FortVolumeManager.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "FortVolumeManager.h"
|
||||
|
||||
AFortVolume* AFortVolumeManager::SpawnVolumeHook(AFortVolumeManager* VolumeManager, UClass* VolumeActor, UFortPlaysetItemDefinition* Playset, FVector Location, FRotator Rotation)
|
||||
{
|
||||
// They inlined SetPlayset idk why
|
||||
|
||||
static auto VolumeObjectsOffset = VolumeManager->GetOffset("VolumeObjects");
|
||||
auto& VolumeObjects = VolumeManager->Get<TArray<AFortVolume*>>(VolumeObjectsOffset);
|
||||
|
||||
LOG_INFO(LogDev, "SpawnVolumeHook!");
|
||||
auto ret = SpawnVolumeOriginal(VolumeManager, VolumeActor, Playset, Location, Rotation);
|
||||
|
||||
return ret;
|
||||
}
|
||||
Reference in New Issue
Block a user