1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

fix objects colliding with its own collision boxes

This commit is contained in:
sapier 2013-04-09 23:16:13 +02:00
parent 7d002b60ff
commit 6e4fdf37ba
4 changed files with 13 additions and 7 deletions

View file

@ -1152,7 +1152,7 @@ public:
v3f p_acceleration = m_acceleration;
moveresult = collisionMoveSimple(env,env->getGameDef(),
pos_max_d, box, stepheight, dtime,
p_pos, p_velocity, p_acceleration);
p_pos, p_velocity, p_acceleration,this);
// Apply results
m_position = p_pos;
m_velocity = p_velocity;