removing unused function delete() from controls

This commit is contained in:
Josh Wilson 2007-02-06 23:23:42 +00:00
parent c56249dd2f
commit 26e87e17a3
2 changed files with 0 additions and 9 deletions

View File

@ -109,7 +109,6 @@ class ControlManager:
print "Removing controls:", name
oldControls.disableAvatarControls()
oldControls.setCollisionsActive(0)
oldControls.delete()
if __debug__:
def lockControls(self):
@ -158,7 +157,6 @@ class ControlManager:
forwardSpeed, jumpForce, reverseSpeed, rotateSpeed)
def delete(self):
import pdb;pdb.set_trace()
assert self.notify.debugCall(id(self))
self.disable()
for controls in self.controls.keys():

View File

@ -65,13 +65,6 @@ class GravityWalker(DirectObject.DirectObject):
self.isAirborne = 0
self.highMark = 0
def delete(self):
assert self.notify.debugStateCall(self)
if self.doLaterTask is not None:
self.doLaterTask.remove()
del self.doLaterTask
#DirectObject.DirectObject.delete(self)
"""
def spawnTest(self):
assert self.notify.debugStateCall(self)