outfit fix

This commit is contained in:
Henrique 2011-11-16 19:28:47 -02:00
parent 63c018ba4c
commit b29796e682
1 changed files with 8 additions and 0 deletions

View File

@ -127,7 +127,15 @@ function Outfit.create(creature, outfitList)
m_creature = creature
m_outfits = outfitList
currentOutfit = 1
for i=1,#outfitList do
if outfitList[i][1] == m_outfit.type then
currentOutfit = i
break
end
end
update()
end