From 3fc8c20500a5f15278d92ff99294cd35d82ef2a7 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Wed, 28 Jan 2004 02:36:08 +0000 Subject: [PATCH] factorySpecNum -> factoryId --- direct/src/level/PathEntity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/level/PathEntity.py b/direct/src/level/PathEntity.py index 4577f19432..a9043206bc 100755 --- a/direct/src/level/PathEntity.py +++ b/direct/src/level/PathEntity.py @@ -7,14 +7,14 @@ import GoonPathData class PathEntity(BasicEntities.NodePathEntity): def __init__(self, level, entId): BasicEntities.NodePathEntity.__init__(self, level, entId) - self.path = GoonPathData.Paths[self.level.factorySpecNum][self.pathIndex] + self.path = GoonPathData.Paths[self.level.factoryId][self.pathIndex] def destroy(self): BasicEntities.NodePathEntity.destroy(self) def setPathIndex(self, pathIndex): self.pathIndex = pathIndex - self.path = GoonPathData.Paths[self.level.factorySpecNum][self.pathIndex] + self.path = GoonPathData.Paths[self.level.factoryId][self.pathIndex] def makePathTrack(self, node, velocity, name, turnTime=1, lookAroundNode=None): track = Sequence(name = name)