Removed vspd restriction on fastfall

This commit is contained in:
theo@manjaro 2021-11-17 13:36:38 +01:00
parent 58f1aabf45
commit 535de3c1b4
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class Player(Movable):
self.controlled = True
self.fastfallmargin = 2
self.fastfallmargin = 3
self.playerid = 0
self.teamid = self.playerid
@ -137,7 +137,7 @@ class Player(Movable):
self.rect.bottom = semi.top+1
falled = True
if not falled: # Check for fastfall
if self.canfastfall and abs(self.verspd) <= self.fastfallmargin and not self.onground:
if self.canfastfall and not self.onground:
self.verspd = self.maxgravity/5*self.gravityway
self.canfastfall = False