Skip to content

Commit 56a6f30

Browse files
committed
fixed 4.18
1 parent c87bacf commit 56a6f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/UnrealEnginePython/Private/UEPyModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,7 +3195,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
31953195
prop_struct->Struct = TBaseStructure<FTransform>::Get();
31963196
prop = prop_struct;
31973197
}
3198-
#if ENGINE_MINOR_VERSION > 17
3198+
#if ENGINE_MINOR_VERSION > 18
31993199
else if ((PyTypeObject *)value == &ue_PyFQuatType)
32003200
{
32013201
UStructProperty *prop_struct = NewObject<UStructProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);
@@ -3338,7 +3338,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
33383338
prop_struct->Struct = TBaseStructure<FTransform>::Get();
33393339
prop = prop_struct;
33403340
}
3341-
#if ENGINE_MINOR_VERSION > 17
3341+
#if ENGINE_MINOR_VERSION > 18
33423342
else if ((PyTypeObject *)py_return_value == &ue_PyFQuatType)
33433343
{
33443344
UStructProperty *prop_struct = NewObject<UStructProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);

0 commit comments

Comments
 (0)