fix particles and re-enable them

This commit is contained in:
AJ Kelly
2011-08-23 11:15:26 -05:00
parent ef762e8728
commit cabcc5a5a2
2 changed files with 2 additions and 4 deletions
@@ -24,8 +24,8 @@ local tParticleInfo = {}
for i=1,Params.NumParticles do
tParticleInfo[i] = {
X = math.random(Params.VelocityXMin, Params.VelocityXMax),
Y = math.random(Params.VelocityYMin, Params.VelocityYMax),
Z = math.random(Params.VelocityZMin, Params.VelocityZMax),
Y = Params.VelocityYMin ~= Params.VelocityYMax and math.random(Params.VelocityYMin, Params.VelocityYMax) or Params.VelocityYMin,
Z = Params.VelocityZMin ~= Params.VelocityZMax and math.random(Params.VelocityZMin, Params.VelocityZMax) or Params.VelocityZMin,
Zoom = math.random(Params.ZoomMin*1000,Params.ZoomMax*1000) / 1000,
BobZRate = math.random(Params.BobRateZMin*1000,Params.BobRateZMax*1000) / 1000,
Age = 0,