char.cpp
Arat Komple kod blogunu değiştir
void CHARACTER::RestartAtSamePos()
void CHARACTER::RestartAtSamePos()
{
if (m_bIsObserver)
return;
int x = GetX();
int y = GetY();
Show(GetMapIndex(), x, y);
PointChange(POINT_HP, GetMaxHP() - GetHP());
PointChange(POINT_SP, GetMaxSP() - GetSP());
ReviveInvisible(5);
EncodeRemovePacket(this);
EncodeInsertPacket(this);
ENTITY_MAP::iterator it = m_map_view.begin();
while (it != m_map_view.end())
{
LPENTITY entity = (it++)->first;
EncodeRemovePacket(entity);
if (!m_bIsObserver)
EncodeInsertPacket(entity);
if...