diff --git a/source/simulation/EntityProperties.cpp b/source/simulation/EntityProperties.cpp index e325bc343f..f5d49da501 100755 --- a/source/simulation/EntityProperties.cpp +++ b/source/simulation/EntityProperties.cpp @@ -3,7 +3,6 @@ #include "EntityProperties.h" #include "BaseEntityCollection.h" #include "scripting/JSInterface_BaseEntity.h" -#include "utf16string.h" #undef new // to avoid confusing warnings @@ -116,7 +115,7 @@ void CBoundObjectProperty::set( const jsval value ) jsval CBoundObjectProperty::tojsval() { - return( STRING_TO_JSVAL( JS_NewUCStringCopyZ( g_ScriptingHost.getContext(), utf16string().c_str() ) ) ); + return( STRING_TO_JSVAL( JS_NewUCStringCopyZ( g_ScriptingHost.getContext(), utf16().c_str() ) ) ); } CBoundObjectProperty::CBoundObjectProperty()