diff --git a/src/game/src/input_login.cpp b/src/game/src/input_login.cpp index 14bd35f..df04a39 100644 --- a/src/game/src/input_login.cpp +++ b/src/game/src/input_login.cpp @@ -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));