text encoding fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "../../common/billing.h"
|
||||
#include "config.h"
|
||||
#include "desc_client.h"
|
||||
@@ -68,7 +68,7 @@ int CInputP2P::Relay(LPDESC d, const char * c_pData, size_t uiBytes)
|
||||
{
|
||||
if (pkChr->IsBlockMode(BLOCK_WHISPER))
|
||||
{
|
||||
// 귓속말 거부 상태에서 귓속말 거부.
|
||||
// 귓속말 거부 상태에서 귓속말 거부.
|
||||
return p->lSize;
|
||||
}
|
||||
|
||||
@@ -76,12 +76,12 @@ int CInputP2P::Relay(LPDESC d, const char * c_pData, size_t uiBytes)
|
||||
memcpy(buf, c_pbData, MIN(p->lSize, sizeof(buf)));
|
||||
|
||||
TPacketGCWhisper* p2 = (TPacketGCWhisper*) buf;
|
||||
// bType 상위 4비트: Empire 번호
|
||||
// bType 하위 4비트: EWhisperType
|
||||
// bType 상위 4비트: Empire 번호
|
||||
// bType 하위 4비트: EWhisperType
|
||||
BYTE bToEmpire = (p2->bType >> 4);
|
||||
p2->bType = p2->bType & 0x0F;
|
||||
if(p2->bType == 0x0F) {
|
||||
// 시스템 메세지 귓속말은 bType의 상위비트까지 모두 사용함.
|
||||
// 시스템 메세지 귓속말은 bType의 상위비트까지 모두 사용함.
|
||||
p2->bType = WHISPER_TYPE_SYSTEM;
|
||||
} else {
|
||||
if (!pkChr->IsEquipUniqueGroup(UNIQUE_GROUP_RING_OF_LANGUAGE))
|
||||
@@ -339,7 +339,7 @@ void CInputP2P::XmasWarpSanta(const char * c_pData)
|
||||
else
|
||||
iNextSpawnDelay = 50 * 60;
|
||||
|
||||
xmas::SpawnSanta(p->lMapIndex, iNextSpawnDelay); // 50분있다가 새로운 산타가 나타남 (한국은 20분)
|
||||
xmas::SpawnSanta(p->lMapIndex, iNextSpawnDelay); // 50분있다가 새로운 산타가 나타남 (한국은 20분)
|
||||
|
||||
TPacketGGXmasWarpSantaReply pack_reply;
|
||||
pack_reply.bHeader = HEADER_GG_XMAS_WARP_SANTA_REPLY;
|
||||
|
||||
Reference in New Issue
Block a user