diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:33:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:33:47 +0300 |
commit | 66f1a82e7910404b812db255a99cb559d9ab3dcf (patch) | |
tree | 97958e8d65b3f8c9fde397331e3b8c09433fe31b /src/net/tmwa/charserverhandler.cpp | |
parent | e078b82b6b7fc6c19499287a7ebaafa8ce6a8fe8 (diff) | |
download | plus-66f1a82e7910404b812db255a99cb559d9ab3dcf.tar.gz plus-66f1a82e7910404b812db255a99cb559d9ab3dcf.tar.bz2 plus-66f1a82e7910404b812db255a99cb559d9ab3dcf.tar.xz plus-66f1a82e7910404b812db255a99cb559d9ab3dcf.zip |
Remove some useless server feature checks from tmwa.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 218f30333..7e0c2e988 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -267,12 +267,7 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot, outMsg.writeInt8(static_cast<int8_t>(hairColor), "hair color"); outMsg.writeInt8(0, "unused"); outMsg.writeInt8(static_cast<int8_t>(hairstyle), "hair style"); - if (serverFeatures->haveLookSelection()) - outMsg.writeInt8(static_cast<int8_t>(look), "look"); - else - outMsg.writeInt8(0, "unused"); - if (serverFeatures->haveRaceSelection()) - outMsg.writeInt8(race, "class"); + outMsg.writeInt8(0, "unused"); } void CharServerHandler::deleteCharacter(Net::Character *const character, |