mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fixed a few problems in the ladder update, and changed the speed to account for gravity
This commit is contained in:
parent
1c59cff832
commit
8e67f4c4e6
3 changed files with 6 additions and 6 deletions
|
@ -541,7 +541,7 @@ void getPointedNode(Client *client, v3f player_position,
|
|||
|
||||
else if(n.getContent() == CONTENT_LADDER)
|
||||
{
|
||||
v3s16 dir = unpackDir(n.dir);
|
||||
v3s16 dir = unpackDir(n.param2);
|
||||
v3f dir_f = v3f(dir.X, dir.Y, dir.Z);
|
||||
dir_f *= BS/2 - BS/6 - BS/20;
|
||||
v3f cpf = npf + dir_f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue