make really old 30 seconds not 300

This commit is contained in:
ZappoMan 2013-12-18 19:36:34 -08:00
parent 5b36953e81
commit 95df772707

View file

@ -404,7 +404,7 @@ void Particle::update() {
float velocityScalar = glm::length(getVelocity());
const float STILL_MOVING = 0.05 / TREE_SCALE;
bool isStillMoving = (velocityScalar > STILL_MOVING);
const float REALLY_OLD = 300.0f; // 300 seconds
const float REALLY_OLD = 30.0f; // 30 seconds
bool isReallyOld = (getLifetime() > REALLY_OLD);
bool isInHand = getInHand();
bool shouldDie = !isInHand && !isStillMoving && isReallyOld;