diff --git a/shared/bindings/Entity.cpp b/shared/bindings/Entity.cpp index 1b6e74f8..fcb94dbd 100644 --- a/shared/bindings/Entity.cpp +++ b/shared/bindings/Entity.cpp @@ -142,8 +142,8 @@ static void AttachTo(const v8::FunctionCallbackInfo& info) } else if(info[1]->IsNumber() && info[2]->IsNumber()) { - V8_ARG_TO_INT32(2, otherBone); - V8_ARG_TO_INT32(3, ownBone); + V8_ARG_TO_UINT(2, otherBone); + V8_ARG_TO_UINT(3, ownBone); _this->AttachToEntity(entity, otherBone, ownBone, pos, rot, collision, noFixedRot); } diff --git a/shared/deps/cpp-sdk b/shared/deps/cpp-sdk index e2ee1113..501cffd2 160000 --- a/shared/deps/cpp-sdk +++ b/shared/deps/cpp-sdk @@ -1 +1 @@ -Subproject commit e2ee1113ceb167701d2c42ca5c55c8d69303c41e +Subproject commit 501cffd26b123ddac1a65c3920bd3fb92d80b152