From 2219a758e4d8baa816b2bb4203f7302e3baca21e Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 14 Jul 2005 18:14:27 +0000 Subject: [PATCH] Change lifespan constructor parameter type from int to float to match its declared type. --- panda/src/particlesystem/pointParticle.cxx | 2 +- panda/src/particlesystem/pointParticle.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/particlesystem/pointParticle.cxx b/panda/src/particlesystem/pointParticle.cxx index 02f334929a..e9a76d719e 100644 --- a/panda/src/particlesystem/pointParticle.cxx +++ b/panda/src/particlesystem/pointParticle.cxx @@ -24,7 +24,7 @@ // Description : simple constructor //////////////////////////////////////////////////////////////////// PointParticle:: -PointParticle(int lifespan, bool alive) : +PointParticle(float lifespan, bool alive) : BaseParticle(lifespan, alive) { set_oriented(false); } diff --git a/panda/src/particlesystem/pointParticle.h b/panda/src/particlesystem/pointParticle.h index 224913d310..7a025df4fc 100644 --- a/panda/src/particlesystem/pointParticle.h +++ b/panda/src/particlesystem/pointParticle.h @@ -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 ©); virtual ~PointParticle();