]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
DevTest: Fix armorball sprite (#12228)
authorWuzzy <Wuzzy@disroot.org>
Thu, 28 Apr 2022 16:51:16 +0000 (16:51 +0000)
committerGitHub <noreply@github.com>
Thu, 28 Apr 2022 16:51:16 +0000 (18:51 +0200)
games/devtest/mods/testentities/armor.lua
games/devtest/mods/testentities/textures/testentities_armorball.png

index 3887c75fdad1743220f63b284f7ee97adcb59313..415e5bd1970e62d6a1529dd060b73e54cf0a4306 100644 (file)
@@ -26,7 +26,7 @@ minetest.register_entity("testentities:armorball", {
                visual = "sprite",
                visual_size = {x=1, y=1},
                textures = {"testentities_armorball.png"},
-               spritediv = {x=1, y=5},
+               spritediv = {x=1, y=max_phase+1},
                initial_sprite_basepos = {x=0, y=0},
        },
 
index ffe33fbade7a0d39a543f1ef29f2f4057183ed7d..708c7b36d88c78f8ef76d90cf2db172c9ddbe46b 100644 (file)
Binary files a/games/devtest/mods/testentities/textures/testentities_armorball.png and b/games/devtest/mods/testentities/textures/testentities_armorball.png differ