From df714f63f958a32aa8f99d0914a99cf742afd7bb Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Thu, 7 Jun 2018 15:36:30 +0200 Subject: [PATCH] fixed 4.15 build --- Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp b/Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp index f0afe587f..a649ce2aa 100644 --- a/Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp +++ b/Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp @@ -192,7 +192,7 @@ PyObject *py_ue_get_game_viewport(ue_PyUObject *self, PyObject * args) if (!viewport_client) return PyErr_Format(PyExc_Exception, "world has no GameViewportClient"); - Py_RETURN_UOBJECT(viewport_client); + Py_RETURN_UOBJECT((UObject *)viewport_client); }