Remove unused argument.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Sat, 20 Mar 2010 05:03:52 +0000 (22:03 -0700)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Sat, 20 Mar 2010 05:03:52 +0000 (22:03 -0700)
bulletml/impl.py

index e800810c798de5401b813c926a015d8e851d8919..938e9e23ad85567a7a38c5a55d385af6cf5ba70f 100644 (file)
@@ -175,7 +175,7 @@ class Action(object):
                         y += off_y
 
                 bullet = owner.__class__(
-                    x, y, direction, speed, owner.target, actions, self, rank)
+                    x, y, direction, speed, owner.target, actions, rank)
                 created.append(bullet)
 
             elif isinstance(action, parser.ChangeSpeed):
@@ -290,7 +290,7 @@ class Bullet(object):
     """
 
     def __init__(self, x=0, y=0, direction=0, speed=0, target=None,
-                 actions=(), parent=None, rank=0.5, Action=Action):
+                 actions=(), rank=0.5, Action=Action):
         self.x = self.px = x
         self.y = self.py = y
         self.mx = 0