An entire commit just for one comment

This commit is contained in:
Piezo_ 2018-12-09 17:59:23 -08:00
parent 1153c08213
commit 43a734a57b

View File

@ -126,7 +126,7 @@ minetest.register_entity("hangglider:glider", {
step_v = player:get_player_velocity().y step_v = player:get_player_velocity().y
if step_v < 0 and step_v > -3 then if step_v < 0 and step_v > -3 then
player:set_physics_override({speed=math.abs(step_v/2) + 0.75}) player:set_physics_override({speed=math.abs(step_v/2) + 0.75})
elseif step_v <= -3 then --Cap our fall speed. elseif step_v <= -3 then --Cap our gliding movement speed.
player:set_physics_override({speed=2.25}) player:set_physics_override({speed=2.25})
else else
player:set_physics_override({speed=1}) player:set_physics_override({speed=1})