Mercurial > skaapsteker
changeset 380:a0afc7c1a4dc
Force projectile image to have right facing
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 15:39:45 +0200 |
parents | 07661a9a708b |
children | 56f97d0c6a36 |
files | skaapsteker/sprites/base.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/skaapsteker/sprites/base.py Sat Apr 09 15:20:10 2011 +0200 +++ b/skaapsteker/sprites/base.py Sat Apr 09 15:39:45 2011 +0200 @@ -275,6 +275,7 @@ def setup(self, direction, hits, **opts): super(Projectile, self).setup(**opts) self.facing = direction + self._update_image(True) # ensure we get the direction right if isinstance(hits, tuple): self.hits = hits + (Geography,)