Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
authorAlex Levenson <alexlevenson@laptop.org>2008-07-14 18:04:58 (GMT)
committer Alex Levenson <alexlevenson@laptop.org>2008-07-14 18:04:58 (GMT)
commit61c885730ad359bcfbaeea493dfd6f5d53dd814f (patch)
tree860f22ec5addb6dbca260e3461d76b4d1523c983 /tools.py
parent7c56f20c8a7fd4eb23ef6415d57735f84a5fdd66 (diff)
created a seperate world.add.motor() function
Diffstat (limited to 'tools.py')
-rw-r--r--tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools.py b/tools.py
index 5bafd3c..a7d249a 100644
--- a/tools.py
+++ b/tools.py
@@ -287,7 +287,7 @@ class JointTool(Tool):
self.game.world.add.fixedJoint(self.jb2[0])
# regardless, clean everything up
self.jb1 = self.jb2 = self.jb1pos = self.jb2pos = None'''
- self.game.world.add.fixedJoint(self.jb1[0],self.jb1pos, True)
+ self.game.world.add.motor(self.jb1[0],self.jb1pos)
self.jb1 = self.jb2 = self.jb1pos = self.jb2pos = None
def draw(self):
if self.jb1: