Fix mob view not beeing updated in 2d mode

This commit is contained in:
sapier 2013-08-18 17:59:07 +02:00
parent 507d1571e1
commit 996a928b84

View File

@ -230,8 +230,13 @@ function graphics.set_animation(entity,name)
if name == "burning" then
entity.object:setsprite({x=0,y=1}, 1, 0, true)
return
end
--fallback
entity.object:setsprite({x=0,y=0}, 1, 0, true)
return
end