Permalink
Browse files

Fixed mp_falldamage

  • Loading branch information...
1 parent 8b88dcd commit 79e4218c70ad425631993ffab2ef8b59b2437cf0 @robotboy655 robotboy655 committed Nov 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 garrysmod/gamemodes/base/gamemode/player.lua
@@ -676,7 +676,7 @@ end
function GM:GetFallDamage( ply, flFallSpeed )
if( GetConVarNumber( "mp_falldamage" ) > 0 ) then -- realistic fall damage is on
- return flFallSpeed * 0.225; -- near the Source SDK value
+ return ( flFallSpeed - 580 ) * 0.227; -- near the Source SDK value
end
return 10

0 comments on commit 79e4218

Please sign in to comment.