1
0
Fork 0

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.
newmobs-master
kabou 2022-03-02 10:47:46 +01:00 committed by cora
parent 84fa3db68a
commit 3f1247d4cf
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,