missed something in last commit

This commit is contained in:
niczkx 2012-07-19 17:28:40 +02:00
parent f74b013da2
commit 9dc88de6b0
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ inline std::string ip_to_string(uint32 ip) {
inline std::string pos_to_string(const Position& p)
{
return format("{x = %h, y = %h, z = %hh}", p.x, p.y, p.z);
return format("{x = %hd, y = %hd, z = %hd}", p.x, p.y, p.z);
}
/// Convert utf8 characters to latin1

View File

@ -106,7 +106,7 @@ bool Creatures::m_loadCreatureBuffer(TiXmlElement* attrib, CreatureTypePtr& m)
type = attrib->readType<int32>("type");
else {
type = attrib->readType<int32>("typeex");
isTypeEx = true;
isTypeEx = true;
}
out.setId(type);