missed something in last commit
This commit is contained in:
parent
f74b013da2
commit
9dc88de6b0
|
@ -183,7 +183,7 @@ inline std::string ip_to_string(uint32 ip) {
|
||||||
|
|
||||||
inline std::string pos_to_string(const Position& p)
|
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
|
/// Convert utf8 characters to latin1
|
||||||
|
|
|
@ -106,7 +106,7 @@ bool Creatures::m_loadCreatureBuffer(TiXmlElement* attrib, CreatureTypePtr& m)
|
||||||
type = attrib->readType<int32>("type");
|
type = attrib->readType<int32>("type");
|
||||||
else {
|
else {
|
||||||
type = attrib->readType<int32>("typeex");
|
type = attrib->readType<int32>("typeex");
|
||||||
isTypeEx = true;
|
isTypeEx = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
out.setId(type);
|
out.setId(type);
|
||||||
|
|
Loading…
Reference in New Issue