mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Fix wrong collision axis in Lua moveresult
introduced by c24a04d246221e13a626f4a4dd34037a5332a935
This commit is contained in:
parent
f6cfe6b873
commit
c4703a7f19
@ -110,7 +110,7 @@ if core.set_push_moveresult1 then
|
|||||||
standing_on_object = b2,
|
standing_on_object = b2,
|
||||||
collisions = {{
|
collisions = {{
|
||||||
type = "node",
|
type = "node",
|
||||||
axis = AXES[axis],
|
axis = AXES[axis + 1],
|
||||||
node_pos = vector.new(npx, npy, npz),
|
node_pos = vector.new(npx, npy, npz),
|
||||||
new_pos = vector.new(v0x, v0y, v0z),
|
new_pos = vector.new(v0x, v0y, v0z),
|
||||||
old_velocity = vector.new(v1x, v1y, v1z),
|
old_velocity = vector.new(v1x, v1y, v1z),
|
||||||
|
Loading…
Reference in New Issue
Block a user