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:
kabou 2022-03-02 10:47:46 +01:00
parent c2ae28aec1
commit 56b63463a5
1 changed files with 2 additions and 7 deletions

View File

@ -70,13 +70,8 @@ minetest.register_entity("mcl_burning:fire", {
collisionbox = {0, 0, 0, 0, 0, 0},
visual = "upright_sprite",
textures = {
name = "mcl_burning_entity_flame_animated.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 1.0,
},
"mcl_burning_entity_flame_animated.png",
"mcl_burning_entity_flame_animated.png"
},
spritediv = {x = 1, y = mcl_burning.animation_frames},
pointable = false,