Skip to content

Commit

Permalink
4.25 compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed May 21, 2020
1 parent 08ee20e commit 3c119e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NodeJs.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 1,
"VersionName": "0.5.0",
"VersionName": "0.6.0",
"FriendlyName": "NodeJs",
"Description": "Embed node.js as an unreal plugin.",
"Category": "Programming",
Expand Down
8 changes: 4 additions & 4 deletions Source/NodeJs/Private/NodeComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ bool UNodeComponent::CallBPFunctionWithResponse(UObject* Target, const FString&
}

//Check function signature
TFieldIterator<UProperty> Iterator(Function);
TFieldIterator<FProperty> Iterator(Function);

TArray<UProperty*> Properties;
TArray<FProperty*> Properties;
while (Iterator && (Iterator->PropertyFlags & CPF_Parm))
{
UProperty* Prop = *Iterator;
FProperty* Prop = *Iterator;
Properties.Add(Prop);
++Iterator;
}
Expand Down Expand Up @@ -469,7 +469,7 @@ bool UNodeComponent::CallBPFunctionWithResponse(UObject* Target, const FString&
//array?
else if (FirstParam.Equals("TArray"))
{
UArrayProperty* ArrayProp = Cast<UArrayProperty>(Properties[0]);
FArrayProperty* ArrayProp = CastField<FArrayProperty>(Properties[0]);

FString Inner;
ArrayProp->GetCPPMacroType(Inner);
Expand Down

0 comments on commit 3c119e7

Please sign in to comment.