mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
fix CC
This commit is contained in:
parent
50ac686b7f
commit
6dfd5ca933
@ -248,10 +248,9 @@ void UserManager::RequestCharacterList(const SystemAddress& sysAddr) {
|
||||
void UserManager::CreateCharacter(const SystemAddress& sysAddr, Packet* packet) {
|
||||
User* u = GetUser(sysAddr);
|
||||
if (!u) return;
|
||||
CINSTREAM;
|
||||
CINSTREAM_SKIP_HEADER;
|
||||
LUWString name(33);
|
||||
inStream.Read(name);
|
||||
|
||||
uint32_t firstNameIndex;
|
||||
inStream.Read(firstNameIndex);
|
||||
uint32_t middleNameIndex;
|
||||
@ -259,7 +258,8 @@ void UserManager::CreateCharacter(const SystemAddress& sysAddr, Packet* packet)
|
||||
uint32_t lastNameIndex;
|
||||
inStream.Read(lastNameIndex);
|
||||
std::string predefinedName = GetPredefinedName(firstNameIndex, middleNameIndex, lastNameIndex);
|
||||
|
||||
// unknown 9 bytes
|
||||
inStream.SetReadOffset(inStream.GetReadOffset() + BYTES_TO_BITS(9));
|
||||
uint32_t shirtColor;
|
||||
inStream.Read(shirtColor);
|
||||
uint32_t shirtStyle;
|
||||
|
Loading…
Reference in New Issue
Block a user