Fix stretched particles

master
Gabriel Huber 2015-02-09 04:06:14 +01:00
parent dbd9f17f7c
commit ca8d3dce8b
3 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@ local function add_fire(pos, duration)
end
pos.y = pos.y+0.19
minetest.add_particle(pos, null, null, duration,
1.5, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
3.0, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
pos.y = pos.y +0.01
minetest.add_particle(pos, null, null, duration-0.3,
1.5, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
3.0, true, "torches_fire"..tostring(math.random(1,2)) ..".png")
end
--help functions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

After

Width:  |  Height:  |  Size: 662 B