Browse Source

Simple FeatureLib fixes.

Darryl Pogue 14 years ago
parent
commit
c4bf08d177
  1. 2
      Sources/Plasma/FeatureLib/pfAnimation/pfObjectFlocker.h
  2. 4
      Sources/Plasma/FeatureLib/pfAnimation/plLineFollowMod.cpp

2
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

4
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;
}
}

Loading…
Cancel
Save