Fixup fallout from Main merge

#rb none
#jira none
#lockdown Laurent.Delayen

[CL 4286977 by Thomas Sarkanen in Dev-Anim branch]
This commit is contained in:
Thomas Sarkanen
2018-08-15 08:58:12 -04:00
parent 6696ab0e16
commit a712d3b146
2 changed files with 3 additions and 3 deletions
@@ -2,12 +2,12 @@
#include "AnimNode_StateResult.h"
bool FAnimNode_StateResult::SerializeFromMismatchedTag(const FPropertyTag& Tag, FArchive& Ar)
bool FAnimNode_StateResult::SerializeFromMismatchedTag(const FPropertyTag& Tag, FStructuredArchive::FSlot Slot)
{
if(Tag.Type == NAME_StructProperty && Tag.StructName == FAnimNode_Root::StaticStruct()->GetFName())
{
FAnimNode_Root OldValue;
FAnimNode_Root::StaticStruct()->SerializeItem(Ar, &OldValue, nullptr);
FAnimNode_Root::StaticStruct()->SerializeItem(Slot, &OldValue, nullptr);
*static_cast<FAnimNode_Root*>(this) = OldValue;
return true;