mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
quite a good update
Fixed Devourer of Worlds Event, Fixed chapter 2+ editing bug, Fixed all other bugs with editing, Fixed S13+ lategame.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "KismetStringLibrary.h"
|
||||
#include "reboot.h"
|
||||
#include "BuildingSMActor.h"
|
||||
#include "FortSafeZoneIndicator.h"
|
||||
#include "GameplayStatics.h"
|
||||
|
||||
struct FAircraftFlightInfo
|
||||
@@ -48,6 +49,8 @@ static void ShowFoundation(AActor* BuildingFoundation, bool bShow = true)
|
||||
return;
|
||||
}
|
||||
|
||||
LOG_INFO(LogDev, "{} {}", bShow ? "Showing" : "Hiding", BuildingFoundation->GetName());
|
||||
|
||||
bool bServerStreamedInLevelValue = bShow; // ??
|
||||
|
||||
static auto bServerStreamedInLevelFieldMask = GetFieldMask(BuildingFoundation->GetProperty("bServerStreamedInLevel"));
|
||||
@@ -173,6 +176,12 @@ public:
|
||||
static inline void (*Athena_HandleStartingNewPlayerOriginal)(AFortGameModeAthena* GameMode, AActor* NewPlayer);
|
||||
static inline void (*SetZoneToIndexOriginal)(AFortGameModeAthena* GameModeAthena, int OverridePhaseMaybeIDFK);
|
||||
|
||||
AFortSafeZoneIndicator*& GetSafeZoneIndicator()
|
||||
{
|
||||
static auto SafeZoneIndicatorOffset = GetOffset("SafeZoneIndicator");
|
||||
return Get<AFortSafeZoneIndicator*>(SafeZoneIndicatorOffset);
|
||||
}
|
||||
|
||||
AFortGameStateAthena* GetGameStateAthena()
|
||||
{
|
||||
return (AFortGameStateAthena*)GetGameState();
|
||||
|
||||
Reference in New Issue
Block a user