You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix for replay compatibility with anim montages
#jira UE-137104 #ROBOMERGE-AUTHOR: brian.bekich #ROBOMERGE-SOURCE: CL 18467073 in //UE5/Release-5.0/... via CL 18467078 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669) [CL 18467082 by brian bekich in ue5-release-engine-test branch]
This commit is contained in:
@@ -406,6 +406,10 @@ bool FGameplayAbilityRepAnimMontage::NetSerialize(FArchive& Ar, class UPackageMa
|
||||
Ar.SerializeBits(&SectionIdToPlay, 7);
|
||||
}
|
||||
|
||||
uint8 bIsStopped = IsStopped;
|
||||
Ar.SerializeBits(&bIsStopped, 1);
|
||||
IsStopped = bIsStopped & 1;
|
||||
|
||||
if (Ar.EngineNetVer() < HISTORY_MONTAGE_PLAY_INST_ID_SERIALIZATION)
|
||||
{
|
||||
uint8 bForcePlayBit = 0;
|
||||
@@ -418,10 +422,6 @@ bool FGameplayAbilityRepAnimMontage::NetSerialize(FArchive& Ar, class UPackageMa
|
||||
}
|
||||
}
|
||||
|
||||
uint8 bIsStopped = IsStopped;
|
||||
Ar.SerializeBits(&bIsStopped, 1);
|
||||
IsStopped = bIsStopped & 1;
|
||||
|
||||
uint8 bSkipPositionCorrection = SkipPositionCorrection;
|
||||
Ar.SerializeBits(&bSkipPositionCorrection, 1);
|
||||
SkipPositionCorrection = bSkipPositionCorrection & 1;
|
||||
|
||||
Reference in New Issue
Block a user