ClientObjectRef: fix get_pos() being off by an order of magnitude
This commit is contained in:
parent
9601d49d28
commit
2451fc8570
@ -33,7 +33,7 @@ int ClientObjectRef::l_get_pos(lua_State *L)
|
||||
{
|
||||
ClientObjectRef *ref = checkobject(L, 1);
|
||||
ClientActiveObject *cao = get_cao(ref);
|
||||
push_v3f(L, cao->getPosition());
|
||||
push_v3f(L, cao->getPosition() / BS);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user