Skip to content

Commit 673b8eb

Browse files
author
Michael Fiano
committed
Followers now animate correctly...I think.
1 parent b6f3464 commit 673b8eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/sprite.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,13 @@ def move(self):
204204

205205
def update(self):
206206
self.move_check()
207-
if not self.stop and not self.hero.stop:
207+
if not self.stop:
208208
self.move()
209-
self.draw()
209+
if not self.hero.stop:
210+
self.draw()
211+
else:
212+
self.image = self.walking[self.direction][0]
213+
self.dirty = 1
210214

211215

212216
class PlayerSprite(CharacterSprite):

0 commit comments

Comments
 (0)