summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/npchandler.cpp3
-rw-r--r--src/net/serverinfo.h2
-rw-r--r--src/utils/xml.cpp3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index c68dd35fd..3166a49cb 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -242,7 +242,8 @@ int NpcHandler::getNpc(Net::MessageIn &msg, bool haveLength)
return npcId;
}
-void NpcHandler::processNpcCutin(Net::MessageIn &msg A_UNUSED, int npcId A_UNUSED)
+void NpcHandler::processNpcCutin(Net::MessageIn &msg A_UNUSED,
+ int npcId A_UNUSED)
{
msg.readString(64); // image name
msg.readInt8(); // type
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index a8480cf1e..232ab532a 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -37,7 +37,7 @@ public:
MANASERV,
TMWATHENA,
EVOL,
- EATHENA,
+ EATHENA
};
typedef std::pair<int, std::string> VersionString;
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index f7350ce92..0da516cbf 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -122,7 +122,8 @@ namespace XML
return ret;
}
- int getIntProperty(XmlNodePtr node, const char* name, int def, int min, int max)
+ int getIntProperty(XmlNodePtr node, const char* name, int def,
+ int min, int max)
{
int &ret = def;