removed teen_packet
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user