Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/card.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-11-20 19:46:23 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-11-20 19:46:23 (GMT)
commit8a8e606b5a6d1888f4a31a5afff490b4629ebc29 (patch)
tree38bd847a749dff0879bfaefd41e44dd6fadc63c6 /card.py
parentfb0edf6cddb3223fd9e0b704abe213f16e2b9203 (diff)
convert to Cairo graphics
Diffstat (limited to 'card.py')
-rw-r--r--card.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/card.py b/card.py
index 31533be..c5e9a40 100644
--- a/card.py
+++ b/card.py
@@ -65,7 +65,7 @@ class Card:
if self.orientation == 360:
self.orientation = 0
if rotate_spr is True:
- self.spr.images[0] = self.images[int(self.orientation/90)]
+ self.spr.set_shape(self.images[int(self.orientation/90)])
self.spr.draw()
def print_card(self):