From 1c255911976fb8eae28bcc82ec872816582c552d Mon Sep 17 00:00:00 2001 From: "theo@manjaro" Date: Wed, 17 Nov 2021 15:18:40 +0100 Subject: [PATCH] Fixed player's dust --- gamedata/objects/combat/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamedata/objects/combat/player.py b/gamedata/objects/combat/player.py index f035a69..a8d8a4d 100644 --- a/gamedata/objects/combat/player.py +++ b/gamedata/objects/combat/player.py @@ -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: