From 56a6f3044179e67978794eb4a037d092ae8b79f9 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Wed, 28 Nov 2018 14:16:16 +0100 Subject: [PATCH] fixed 4.18 --- Source/UnrealEnginePython/Private/UEPyModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UnrealEnginePython/Private/UEPyModule.cpp b/Source/UnrealEnginePython/Private/UEPyModule.cpp index 07e778f22..e89ccc9f6 100644 --- a/Source/UnrealEnginePython/Private/UEPyModule.cpp +++ b/Source/UnrealEnginePython/Private/UEPyModule.cpp @@ -3195,7 +3195,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_ prop_struct->Struct = TBaseStructure::Get(); prop = prop_struct; } -#if ENGINE_MINOR_VERSION > 17 +#if ENGINE_MINOR_VERSION > 18 else if ((PyTypeObject *)value == &ue_PyFQuatType) { UStructProperty *prop_struct = NewObject(function, UTF8_TO_TCHAR(p_name), RF_Public); @@ -3338,7 +3338,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_ prop_struct->Struct = TBaseStructure::Get(); prop = prop_struct; } -#if ENGINE_MINOR_VERSION > 17 +#if ENGINE_MINOR_VERSION > 18 else if ((PyTypeObject *)py_return_value == &ue_PyFQuatType) { UStructProperty *prop_struct = NewObject(function, UTF8_TO_TCHAR(p_name), RF_Public);