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
c2ae28aec1
commit
56b63463a5
|
@ -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