Use execution_path() for finding card images.

This commit is contained in:
Ray 2008-12-13 23:08:11 -05:00
parent 094f176c5d
commit a0ef01a0d1

View File

@ -266,7 +266,7 @@ class Stud_cards:
card_images = {} card_images = {}
suits = ('S', 'H', 'D', 'C') suits = ('S', 'H', 'D', 'C')
ranks = ('A', 'K', 'Q', 'J', 'T', '9', '8', '7', '6', '5', '4', '3', '2', 'B') ranks = ('A', 'K', 'Q', 'J', 'T', '9', '8', '7', '6', '5', '4', '3', '2', 'B')
pb = gtk.gdk.pixbuf_new_from_file("54PFozzycards0.png") pb = gtk.gdk.pixbuf_new_from_file(self.config.execution_path("54PFozzycards0.png"))
for j in range(0, 14): for j in range(0, 14):
for i in range(0, 4): for i in range(0, 4):