restore accidentally removed login logic

This commit is contained in:
Tr0n 2024-04-09 17:04:10 +02:00
parent 21381a4e3a
commit e0701ed5bd
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -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));