From 9dc88de6b093f5fea0d23c417997e31babc23a80 Mon Sep 17 00:00:00 2001 From: niczkx Date: Thu, 19 Jul 2012 17:28:40 +0200 Subject: [PATCH] missed something in last commit --- src/framework/stdext/string.h | 2 +- src/otclient/creatures.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/framework/stdext/string.h b/src/framework/stdext/string.h index 11594315..e2e9e159 100644 --- a/src/framework/stdext/string.h +++ b/src/framework/stdext/string.h @@ -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 diff --git a/src/otclient/creatures.cpp b/src/otclient/creatures.cpp index 42b89fc4..f10214c9 100644 --- a/src/otclient/creatures.cpp +++ b/src/otclient/creatures.cpp @@ -106,7 +106,7 @@ bool Creatures::m_loadCreatureBuffer(TiXmlElement* attrib, CreatureTypePtr& m) type = attrib->readType("type"); else { type = attrib->readType("typeex"); - isTypeEx = true; + isTypeEx = true; } out.setId(type);