used global config instead of base.config (same thing)

This commit is contained in:
Zachary Pavlov 2007-10-11 00:01:51 +00:00
parent e527327b69
commit 41d4c7a9c0

View File

@ -17,9 +17,9 @@ CollisionHandlerRayStart = 4000.0 # This is a hack, it may be better to use a li
class ControlManager:
notify = DirectNotifyGlobal.directNotify.newCategory("ControlManager")
wantAvatarPhysicsIndicator = base.config.GetBool('want-avatar-physics-indicator', 0)
wantAvatarPhysicsDebug = base.config.GetBool('want-avatar-physics-debug', 0)
wantWASD = base.config.GetBool('want-WASD', 0)
wantAvatarPhysicsIndicator = config.GetBool('want-avatar-physics-indicator', 0)
wantAvatarPhysicsDebug = config.GetBool('want-avatar-physics-debug', 0)
wantWASD = config.GetBool('want-WASD', 0)
def __init__(self, enable=True, passMessagesThrough = False):
print ("init control manager %s" % (passMessagesThrough))