mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
missed something in last commit
This commit is contained in:
@@ -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
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user