mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 09:35:25 +00:00
Fix UE 5.5 warnings
This commit is contained in:
parent
95ca6768a5
commit
d7bdf57e0d
@ -18,7 +18,11 @@ AStevesReplicatedPhysicsActor::AStevesReplicatedPhysicsActor(const FObjectInitia
|
|||||||
MeshComp->bReplicatePhysicsToAutonomousProxy = true;
|
MeshComp->bReplicatePhysicsToAutonomousProxy = true;
|
||||||
|
|
||||||
// The default MinNetUpdateFrequency of 2 is too slow at responding to woken physics objects
|
// The default MinNetUpdateFrequency of 2 is too slow at responding to woken physics objects
|
||||||
|
#if ENGINE_MINOR_VERSION >= 5
|
||||||
|
SetMinNetUpdateFrequency(10);
|
||||||
|
#else
|
||||||
MinNetUpdateFrequency = 10;
|
MinNetUpdateFrequency = 10;
|
||||||
|
#endif
|
||||||
|
|
||||||
// We do NOT replicate MeshComp itself! That's expensive and unnecessary
|
// We do NOT replicate MeshComp itself! That's expensive and unnecessary
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user