diff --git a/src/otclient/creatures.cpp b/src/otclient/creatures.cpp index 864b75bf..bc6a1539 100644 --- a/src/otclient/creatures.cpp +++ b/src/otclient/creatures.cpp @@ -287,11 +287,15 @@ void CreatureManager::m_loadCreatureBuffer(TiXmlElement* attrib, const CreatureT return; Outfit out; - out.setCategory(ThingCategoryCreature); - if(!attrib->Attribute("type").empty()) - out.setId(attrib->readType("type")); - else - out.setId(attrib->readType("typeex")); + + int32 type = attrib->readType("type"); + if(type > 0) { + out.setCategory(ThingCategoryCreature); + out.setId(type); + } else { + out.setCategory(ThingCategoryItem); + out.setAuxId(attrib->readType("typeex")); + } { out.setHead(attrib->readType(("head")));