removed teen_packet

This commit is contained in:
savis
2025-09-01 19:19:42 +02:00
parent 759b64e466
commit 286439aada
12 changed files with 1 additions and 385 deletions

View File

@@ -1,6 +1,5 @@
#include "stdafx.h"
#include "constants.h"
#include "common/teen_packet.h"
#include "config.h"
#include "utils.h"
#include "input.h"
@@ -774,19 +773,6 @@ void CInputLogin::Entergame(LPDESC d, const char * data)
}
}
// 청소년 보호
if (g_TeenDesc) // BufferedPacket 사용 금지
{
TPacketGTLogin p;
p.header = HEADER_GT_LOGIN;
p.empty = 0;
p.id = d->GetAccountTable().id;
g_TeenDesc->Packet(&p, sizeof(p));
sys_log(0, "TEEN_SEND: (%u, %s)", d->GetAccountTable().id, ch->GetName());
}
if (ch->GetHorseLevel() > 0)
{
DWORD pid = ch->GetPlayerID();