aboutsummaryrefslogtreecommitdiff
path: root/src/collision.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-04-26 22:52:00 +0200
committersfan5 <sfan5@live.de>2020-05-06 14:03:52 +0200
commitb6b80f55c8a2bf4eae440108b3274f2f921e3a94 (patch)
treebc76782c07a335aded232fd49616d93e66c591df /src/collision.h
parentcb159f8d8af4556391db8a6875657625733eeb11 (diff)
downloadminetest-b6b80f55c8a2bf4eae440108b3274f2f921e3a94.tar.gz
minetest-b6b80f55c8a2bf4eae440108b3274f2f921e3a94.tar.bz2
minetest-b6b80f55c8a2bf4eae440108b3274f2f921e3a94.zip
Expose collided objects in moveresult
closes #9787
Diffstat (limited to 'src/collision.h')
-rw-r--r--src/collision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/collision.h b/src/collision.h
index fa47cccc1..87a502828 100644
--- a/src/collision.h
+++ b/src/collision.h
@@ -48,6 +48,7 @@ struct CollisionInfo
CollisionType type = COLLISION_NODE;
CollisionAxis axis = COLLISION_AXIS_NONE;
v3s16 node_p = v3s16(-32768,-32768,-32768); // COLLISION_NODE
+ ActiveObject *object = nullptr; // COLLISION_OBJECT
v3f old_speed;
v3f new_speed;
int plane = -1;