Skip to content
Snippets Groups Projects
Commit f4ed37ec authored by PilzAdam's avatar PilzAdam
Browse files

Fix falling damage when not flying

parent e9006f90
Branches
Tags
No related merge requests found
......@@ -303,7 +303,7 @@ void LocalPlayer::move(f32 dtime, Map &map, f32 pos_max_d,
*/
bool bouncy_jump = false;
// Dont report if flying
if(collision_info && !g_settings->getBool("free_move"))
if(collision_info && !(g_settings->getBool("free_move") && fly_allowed))
{
for(size_t i=0; i<result.collisions.size(); i++){
const CollisionInfo &info = result.collisions[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment