Fixed player's dust
This commit is contained in:
parent
c1ab414aeb
commit
1c25591197
@ -96,7 +96,7 @@ class Player(Movable):
|
||||
if self.fastfall:
|
||||
self.fastfall = False
|
||||
# Spawns dust
|
||||
self.game.addParticle(self.dustparticles,self.rect.center[0],self.rect.bottom,fps=25)
|
||||
self.game.addParticle(self.dustparticles,self.rect.center[0],self.rect.center[1]+self.rect[3]/2*self.gravityway,fps=25)
|
||||
if self.gravityway > 0:
|
||||
self.verspd=min(0,self.verspd)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user