Explorar o código

ouch is not auto-multiplied

Darren Ranalli %!s(int64=22) %!d(string=hai) anos
pai
achega
f147f1a193
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      direct/src/level/DistributedLevel.py

+ 1 - 1
direct/src/level/DistributedLevel.py

@@ -274,7 +274,7 @@ class DistributedLevel(DistributedObject.DistributedObject,
                     floorNode = collisionEntry.getIntoNode()
                     floorNode = collisionEntry.getIntoNode()
                     if floorNode.hasTag('ouch'):
                     if floorNode.hasTag('ouch'):
                         ouchLevel = int(floorNode.getTag('ouch'))
                         ouchLevel = int(floorNode.getTag('ouch'))
-                        self.startOuch(ouchLevel*2)
+                        self.startOuch(ouchLevel)
                 self.accept('enter%s' % floorCollName, handleZoneEnter)
                 self.accept('enter%s' % floorCollName, handleZoneEnter)
 
 
                 # also listen for zone exit events for the sake of the
                 # also listen for zone exit events for the sake of the