Browse Source

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

Zachary Pavlov 18 years ago
parent
commit
41d4c7a9c0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      direct/src/controls/ControlManager.py

+ 3 - 3
direct/src/controls/ControlManager.py

@@ -17,9 +17,9 @@ CollisionHandlerRayStart = 4000.0 # This is a hack, it may be better to use a li
 
 
 class ControlManager:
 class ControlManager:
     notify = DirectNotifyGlobal.directNotify.newCategory("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):
     def __init__(self, enable=True, passMessagesThrough = False):
         print ("init control manager %s" % (passMessagesThrough))
         print ("init control manager %s" % (passMessagesThrough))