summaryrefslogtreecommitdiff
path: root/src/net/tmwa/charserverhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r--src/net/tmwa/charserverhandler.cpp7
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,