From ba84f8da099ea94a408a363019bf46b17fc8d64f Mon Sep 17 00:00:00 2001 From: Loudrob Date: Sun, 3 May 2015 09:07:33 -0400 Subject: [PATCH] Ready to be merged and fixed by the rest of you nigrars aswell. --- config/release/dev.prc | 3 +++ toontown/safezone/CheckersBoard.py | 6 +++--- toontown/safezone/ChineseCheckersBoard.py | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/config/release/dev.prc b/config/release/dev.prc index 37ac0161..97817422 100644 --- a/config/release/dev.prc +++ b/config/release/dev.prc @@ -26,6 +26,9 @@ want-lawbot-cogdo #t want-achievements #f want-anim-props #t want-game-tables #t +want-find-four #f +want-chinese-checkers #t +want-checkers #f # Chat: want-whitelist #f diff --git a/toontown/safezone/CheckersBoard.py b/toontown/safezone/CheckersBoard.py index c59fbab5..1677a9f4 100644 --- a/toontown/safezone/CheckersBoard.py +++ b/toontown/safezone/CheckersBoard.py @@ -4,7 +4,7 @@ class CheckersBoard: def __init__(self): self.squareList = [] - for x in range(32): + for x in xrange(32): self.squareList.append(CheckersTile(x)) self.squareList[0].setAdjacent([None, @@ -285,14 +285,14 @@ class CheckersBoard: def getStates(self): retList = [] - for x in range(32): + for x in xrange(32): retList.append(self.squareList[x].getState()) return retList def setStates(self, squares): y = 0 - for x in range(32): + for x in xrange(32): self.squareList[x].setState(squares[x]) def getJumps(self, squareNum): diff --git a/toontown/safezone/ChineseCheckersBoard.py b/toontown/safezone/ChineseCheckersBoard.py index f8f3b348..0ddd4144 100644 --- a/toontown/safezone/ChineseCheckersBoard.py +++ b/toontown/safezone/ChineseCheckersBoard.py @@ -4,7 +4,7 @@ class ChineseCheckersBoard: def __init__(self): self.squareList = [] - for x in range(121): + for x in xrange(121): self.squareList.append(CheckersSquare(x)) self.squareList[0].setAdjacent([None, @@ -767,14 +767,14 @@ class ChineseCheckersBoard: def getStates(self): retList = [] - for x in range(121): + for x in xrange(121): retList.append(self.squareList[x].getState()) return retList def setStates(self, squares): y = 0 - for x in range(121): + for x in xrange(121): self.squareList[x].setState(squares[x])