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 "common/teen_packet.h"
#include "common/VnumHelper.h"
#include "char.h"
@@ -1388,24 +1387,6 @@ void CHARACTER::Disconnect(const char * c_pszReason)
MessengerManager::instance().Logout(GetName());
if (g_TeenDesc)
{
int offset = 0;
char buf[245] = {0};
buf[0] = HEADER_GT_LOGOUT;
offset += 1;
memset(buf+offset, 0x00, 2);
offset += 2;
TAccountTable &acc_table = GetDesc()->GetAccountTable();
memcpy(buf+offset, &acc_table.id, 4);
offset += 4;
g_TeenDesc->Packet(buf, offset);
}
if (GetDesc())
{
GetDesc()->BindCharacter(NULL);