diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-07 00:34:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-07 00:34:29 +0300 |
commit | a81baa9e0bad6e312af008a800b346c172be47d1 (patch) | |
tree | 8dda8443611be191f74910fc68f336163ed4490f /src | |
parent | 7699848c2c24822e1169e6b91db89a69345c5666 (diff) | |
download | plus-a81baa9e0bad6e312af008a800b346c172be47d1.tar.gz plus-a81baa9e0bad6e312af008a800b346c172be47d1.tar.bz2 plus-a81baa9e0bad6e312af008a800b346c172be47d1.tar.xz plus-a81baa9e0bad6e312af008a800b346c172be47d1.zip |
Fix code style.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 3 | ||||
-rw-r--r-- | src/net/serverinfo.h | 2 | ||||
-rw-r--r-- | src/utils/xml.cpp | 3 |
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; |