Fix old_resting_y variable reference
Merge pull request #10 from deathcap/fallfix

Fix fall distance calculation