Removed vspd restriction on fastfall
This commit is contained in:
parent
58f1aabf45
commit
535de3c1b4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user