Created
June 26, 2018 15:43
-
-
Save dorgonman/5f021b9eac330493d3f012bfda9a8d99 to your computer and use it in GitHub Desktop.
wordpress_post1561_02.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int32 UNetDriver::ServerReplicateActors_ProcessPrioritizedActors( UNetConnection* Connection, const TArray<FNetViewer>& ConnectionViewers, FActorPriority** PriorityActors, const int32 FinalSortedCount, int32& OutUpdated ) | |
{ | |
... | |
// If the actor wasn't recently relevant, or if it was torn off, close the actor channel if it exists for this connection | |
if ( ( !bIsRecentlyRelevant || Actor->bTearOff ) && Channel != NULL ) | |
{ | |
... | |
UE_LOG( LogNetTraffic, Log, TEXT( "- Closing channel for no longer relevant actor %s" ), *Actor->GetName() ); | |
Channel->Close(); | |
... | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment