forked from VoxeLibre/VoxeLibre
Fix burning entity animation.
The parameters for the flames sprite were incorrect, causing the reverse side of the sprite to appear as an opaque black rectangle. Use the correct incantation.
This commit is contained in:
parent
84fa3db68a
commit
3f1247d4cf
|
@ -70,13 +70,8 @@ minetest.register_entity("mcl_burning:fire", {
|
||||||
collisionbox = {0, 0, 0, 0, 0, 0},
|
collisionbox = {0, 0, 0, 0, 0, 0},
|
||||||
visual = "upright_sprite",
|
visual = "upright_sprite",
|
||||||
textures = {
|
textures = {
|
||||||
name = "mcl_burning_entity_flame_animated.png",
|
"mcl_burning_entity_flame_animated.png",
|
||||||
animation = {
|
"mcl_burning_entity_flame_animated.png"
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 1.0,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
spritediv = {x = 1, y = mcl_burning.animation_frames},
|
spritediv = {x = 1, y = mcl_burning.animation_frames},
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
|
Loading…
Reference in New Issue