packaging warnings fix

This commit is contained in:
Oleg Petruny 2025-04-25 15:42:02 +02:00
parent 6619855580
commit ab50518572
2 changed files with 1 additions and 3 deletions

View File

@ -158,9 +158,6 @@ ManualIPAddress=
+ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic") +ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic")
+ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor") +ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor")
+ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic") +ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic")
+ProfileRedirects=(OldName="AgeOfWarUnitComputer",NewName="AgeOfWarUnitPlayerZone")
+ProfileRedirects=(OldName="AgeOfWarUnit",NewName="AgeOfWarUnitPlayer")
+ProfileRedirects=(OldName="AgeOfWarUnitPlayerZone",NewName="AgeOfWarUnitComputer")
-CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic") -CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic")
-CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic") -CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic")
-CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle") -CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle")

View File

@ -66,6 +66,7 @@ void AAgeOfWarUnit::EndPlay(const EEndPlayReason::Type EndPlayReason)
AAgeOfWarUnit::AAgeOfWarUnit() AAgeOfWarUnit::AAgeOfWarUnit()
{ {
root = CreateDefaultSubobject<UBoxComponent>(TEXT("Collision")); root = CreateDefaultSubobject<UBoxComponent>(TEXT("Collision"));
SetRootComponent(root);
allyblocker = CreateDefaultSubobject<UBoxComponent>(TEXT("AllyBlocker")); allyblocker = CreateDefaultSubobject<UBoxComponent>(TEXT("AllyBlocker"));
allyblocker->SetupAttachment(root); allyblocker->SetupAttachment(root);
traceStart = CreateDefaultSubobject<USceneComponent>(TEXT("TraceStart")); traceStart = CreateDefaultSubobject<USceneComponent>(TEXT("TraceStart"));