Lots of stuff happened
[progcomp2013.git] / qchess / board.py
index d028442..0d96d1a 100644 (file)
@@ -96,7 +96,7 @@ class Board():
                if window == None:
                        return
                for p in self.pieces["white"] + self.pieces["black"]:
                if window == None:
                        return
                for p in self.pieces["white"] + self.pieces["black"]:
-                       p.draw(window, grid_sz)
+                       p.draw(window, grid_sz, self.style)
 
        # Draw the board in a pygame window
        def display(self, window = None):
 
        # Draw the board in a pygame window
        def display(self, window = None):

UCC git Repository :: git.ucc.asn.au