restore accidentally removed login logic
This commit is contained in:
parent
21381a4e3a
commit
e0701ed5bd
|
@ -430,6 +430,9 @@ void CInputLogin::CharacterCreate(LPDESC d, const char * data)
|
|||
// 사용할 수 없는 이름이거나, 잘못된 평상복이면 생설 실패
|
||||
if (!check_name(pinfo->name) || pinfo->shape > 1)
|
||||
{
|
||||
d->Packet(&packFailure, sizeof(packFailure));
|
||||
return;
|
||||
}
|
||||
|
||||
const TAccountTable & c_rAccountTable = d->GetAccountTable();
|
||||
|
||||
|
@ -442,7 +445,6 @@ void CInputLogin::CharacterCreate(LPDESC d, const char * data)
|
|||
d->Packet(&pack, sizeof(pack));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
memset(&player_create_packet, 0, sizeof(TPlayerCreatePacket));
|
||||
|
||||
|
|
Loading…
Reference in New Issue