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 +}