From ca6e9716d8ec52f509566e08cd7787d4ab72c732 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Thu, 19 Feb 2004 23:42:41 +0000 Subject: [PATCH] fixed bug in endZ case --- direct/src/interval/ProjectileInterval.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/interval/ProjectileInterval.py b/direct/src/interval/ProjectileInterval.py index 64f224f82c..324d30d29d 100755 --- a/direct/src/interval/ProjectileInterval.py +++ b/direct/src/interval/ProjectileInterval.py @@ -65,10 +65,11 @@ class ProjectileInterval(Interval): # position; delay until the interval is actually started self.trajectoryArgs = args self.needToCalcTraj = 1 + self.duration = duration else: self.__calcTrajectory(*args) - Interval.__init__(self, name, duration) + Interval.__init__(self, name, self.duration) def __calcTrajectory(self, startPos = None, endPos = None, duration = None,