From c4bf08d1771b3403ca5faf2f8d18f311962ef8c2 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 6 Aug 2011 14:46:47 -0700 Subject: [PATCH] Simple FeatureLib fixes. --- Sources/Plasma/FeatureLib/pfAnimation/pfObjectFlocker.h | 2 +- Sources/Plasma/FeatureLib/pfAnimation/plLineFollowMod.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Plasma/FeatureLib/pfAnimation/pfObjectFlocker.h b/Sources/Plasma/FeatureLib/pfAnimation/pfObjectFlocker.h index 6500160e..2e731f0e 100644 --- a/Sources/Plasma/FeatureLib/pfAnimation/pfObjectFlocker.h +++ b/Sources/Plasma/FeatureLib/pfAnimation/pfObjectFlocker.h @@ -113,7 +113,7 @@ public: tokenType *MakeToken(T parentObject) {return TRACKED_NEW tokenType(parentObject, fGroup);} // return the number of tokens currently in the database - int Size(void) {return group.size();} + int Size(void) {return fGroup.size();} }; // A basic vehicle class that handles accelleration, braking, and turning diff --git a/Sources/Plasma/FeatureLib/pfAnimation/plLineFollowMod.cpp b/Sources/Plasma/FeatureLib/pfAnimation/plLineFollowMod.cpp index a3496814..9ece5df2 100644 --- a/Sources/Plasma/FeatureLib/pfAnimation/plLineFollowMod.cpp +++ b/Sources/Plasma/FeatureLib/pfAnimation/plLineFollowMod.cpp @@ -613,11 +613,11 @@ void plLineFollowMod::RemoveStereizer(const plKey& key) // it. plRailCameraMod::plRailCameraMod() : +plLineFollowMod(), fCurrentTime(0.0f), fTargetTime(0.0f), fFarthest(false) { - plLineFollowMod::plLineFollowMod(); fGoal.Set(0,0,0); } @@ -684,4 +684,4 @@ hsPoint3 plRailCameraMod::GetGoal(double secs, hsScalar speed) fPath->SetCurTime(fTargetTime, plAnimPath::kCalcPosOnly); return fGoal; -} \ No newline at end of file +}