From 4a0cb4e1f13c7e6082ebda206a9e07b7629915ed Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 11 May 2017 21:26:01 +0200 Subject: [PATCH] Sdk/World: Get rid of now useless trick in Clone method EntityHandle can no longer move in memory until a world update --- SDK/src/NDK/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDK/src/NDK/World.cpp b/SDK/src/NDK/World.cpp index 81b862df9..8b7b51186 100644 --- a/SDK/src/NDK/World.cpp +++ b/SDK/src/NDK/World.cpp @@ -152,7 +152,7 @@ namespace Ndk clone->AddComponent(std::move(component)); } - return GetEntity(clone->GetId()); + return clone; } /*!