Skip to content

Commit

Permalink
server: change attachto bone to uint
Browse files Browse the repository at this point in the history
  • Loading branch information
C0kkie committed Jul 20, 2023
1 parent bfc6e46 commit 5131e3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions shared/bindings/Entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ static void AttachTo(const v8::FunctionCallbackInfo<v8::Value>& 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);
}
Expand Down
2 changes: 1 addition & 1 deletion shared/deps/cpp-sdk
Submodule cpp-sdk updated 1 files
+1 −1 objects/IEntity.h

0 comments on commit 5131e3e

Please sign in to comment.