1
0
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:
Mark Holmquist
2011-07-30 17:26:13 -07:00
committed by Giuseppe Bilotta
parent 1c59cff832
commit 8e67f4c4e6
3 changed files with 6 additions and 6 deletions

View File

@@ -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;