The smallest change of 2012
This commit is contained in:
parent
af6a32263c
commit
5227a65d74
|
@ -191,10 +191,9 @@ void ThingTypeManager::parseItemType(uint16 id, TiXmlElement* elem)
|
|||
itemType = ItemTypePtr(new ItemType);
|
||||
itemType->setServerId(serverId);
|
||||
addItemType(itemType);
|
||||
}
|
||||
} else
|
||||
itemType = getItemType(serverId);
|
||||
|
||||
itemType = getItemType(serverId);
|
||||
assert(itemType && "Internal error");
|
||||
itemType->setName(elem->Attribute("name"));
|
||||
for(TiXmlElement* attrib = elem->FirstChildElement(); attrib; attrib = attrib->NextSiblingElement()) {
|
||||
std::string key = attrib->Attribute("key");
|
||||
|
|
Loading…
Reference in New Issue