Skip to content

Commit 64f7eee

Browse files
author
Roberto De Ioris
committed
fixed 4.17 build
1 parent 4f1d0b8 commit 64f7eee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/UnrealEnginePython/Private/UEPyEditor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,17 +1905,17 @@ PyObject *py_unreal_engine_move_actor_to_level(PyObject *self, PyObject * args)
19051905
if (!actor)
19061906
return PyErr_Format(PyExc_Exception, "argument is not an Actor");
19071907

1908-
ULevelStreaming *level = ue_py_check_type<ULevelStreaming>(py_level);
1908+
ULevel *level = ue_py_check_type<ULevel>(py_level);
19091909
if (!level)
19101910
return PyErr_Format(PyExc_Exception, "argument is not a ULevelStreaming");
19111911

19121912
TArray<AActor *> actors;
19131913
actors.Add(actor);
19141914

1915-
int32 out = 0;
1915+
int out = 0;
19161916

19171917
#if ENGINE_MINOR_VERSION >= 17
1918-
EditorLevelUtils::MovesActorsToLevel(actors, level, out);
1918+
out = EditorLevelUtils::MoveActorsToLevel(actors, level);
19191919
#endif
19201920
if (out != 1)
19211921
{

0 commit comments

Comments
 (0)