Change lifespan constructor parameter type from int to float to match its declared type.

This commit is contained in:
Josh Wilson 2005-07-14 18:14:27 +00:00
parent a7e77e739f
commit 2219a758e4
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
// Description : simple constructor
////////////////////////////////////////////////////////////////////
PointParticle::
PointParticle(int lifespan, bool alive) :
PointParticle(float lifespan, bool alive) :
BaseParticle(lifespan, alive) {
set_oriented(false);
}

View File

@ -28,7 +28,7 @@
////////////////////////////////////////////////////////////////////
class EXPCL_PANDAPHYSICS PointParticle : public BaseParticle {
public:
PointParticle(int lifespan = 0, bool alive = false);
PointParticle(float lifespan = 0.0f, bool alive = false);
PointParticle(const PointParticle &copy);
virtual ~PointParticle();