1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-07-01 16:10:22 +02:00

fixed prop mummy

This commit is contained in:
crabman77 2015-06-20 22:58:48 +02:00
parent 72dec61159
commit c14b7b2c62

View File

@ -171,11 +171,11 @@ minetest.register_entity("tsm_pyramids:mummy_spawner", spawner_DEF)
function mummy_update_visuals_def(self) function mummy_update_visuals_def(self)
--local name = get_player_name() --local name = get_player_name()
-- visual = default_model_def -- visual = default_model_def
npc_anim = 0 -- Animation will be set further below immediately self.npc_anim = 0 -- Animation will be set further below immediately
--npc_sneak[name] = false --npc_sneak[name] = false
local prop = { local prop = {
mesh = mummy_mesh, mesh = self.mesh,
textures = mummy_texture, textures = self.textures,
--visual_size = {x=1, y=1, z=1}, --visual_size = {x=1, y=1, z=1},
} }
self.object:set_properties(prop) self.object:set_properties(prop)