mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fixed a few problems in the ladder update, and changed the speed to account for gravity
This commit is contained in:
committed by
Giuseppe Bilotta
parent
1c59cff832
commit
8e67f4c4e6
@@ -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;
|
||||
|
Reference in New Issue
Block a user