rot fix (9) part (9) what does not you can only make you strongest
This commit is contained in:
parent
875c93af97
commit
1f8c8e0945
@ -403,7 +403,7 @@ function bhealth_damage(x,y,z,amt,plr)
|
|||||||
blk.qidx = bhealth.tail
|
blk.qidx = bhealth.tail
|
||||||
|
|
||||||
if client then
|
if client then
|
||||||
local block_particlecount = (math.random() * 20 + 10)*0 -- disabling particles to help fix rot
|
local block_particlecount = (math.random() * 20 + 10)*1 -- disabling particles to help fix rot
|
||||||
--[[
|
--[[
|
||||||
local mdl = new_particle_model(
|
local mdl = new_particle_model(
|
||||||
math.floor(c[2]*light+0.5),
|
math.floor(c[2]*light+0.5),
|
||||||
|
@ -24,9 +24,13 @@ end
|
|||||||
|
|
||||||
function particles_prune(sec_current)
|
function particles_prune(sec_current)
|
||||||
local i
|
local i
|
||||||
|
--print("sharticles", particles.head, particles.tail)
|
||||||
for i=particles.head,particles.tail do
|
for i=particles.head,particles.tail do
|
||||||
if particles[i] and particles[i].dead then
|
if particles[i] and particles[i].dead then
|
||||||
particles[i] = nil
|
particles[i] = nil
|
||||||
|
end
|
||||||
|
|
||||||
|
if not particles[i] then
|
||||||
if i == particles.head then
|
if i == particles.head then
|
||||||
particles.head = particles.head + 1
|
particles.head = particles.head + 1
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user