Fixed landing when passing trough a semi solid
This commit is contained in:
parent
1fc2e15a8f
commit
4625b36b92
@ -146,7 +146,7 @@ class Player(Movable):
|
||||
self.leaptimer = self.leapmaxtimer
|
||||
self.candash = True
|
||||
self.canfastfall = True
|
||||
if self.verspd!=0:
|
||||
if self.verspd!=0 and abs(self.verspd)/self.verspd==abs(self.gravityway)/self.gravityway:
|
||||
self.sprite=self.spritelanding
|
||||
self.landingtimer = self.maxlandtime
|
||||
if self.fastfall:
|
||||
|
Loading…
Reference in New Issue
Block a user