diff --git a/toontown/coghq/MoleHill.py b/toontown/coghq/MoleHill.py index 4ea33933..47d071ac 100755 --- a/toontown/coghq/MoleHill.py +++ b/toontown/coghq/MoleHill.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3, CollisionSphere, CollisionNode, Vec4 +from pandac.PandaModules import NodePath, Point3, CollisionTube, CollisionNode, Vec4 from direct.interval.IntervalGlobal import Sequence, LerpPosInterval, Parallel, LerpScaleInterval, Track, ParticleInterval, Wait, Func from toontown.toonbase import ToontownGlobals from toontown.coghq import MoleFieldBase @@ -35,7 +35,7 @@ class MoleHill(NodePath): self.moleHead = loader.loadModel('phase_12/models/bossbotHQ/mole_norm') self.moleHead.reparentTo(self.mole) moleColName = 'moleCol-%d-%s' % (self.moleField.doId, self.index) - moleSphere = CollisionSphere(0, 0, 0, 1.0) + moleSphere = CollisionTube(0, 0, 0, 0, 0, 1, 1) collNode = CollisionNode(moleColName) collNode.setIntoCollideMask(ToontownGlobals.WallBitmask) collNode.addSolid(moleSphere)