// --- DURUM 2: Oyuncu aynı kanalda (bellekte mevcut) ise ---
if (ch == tch) {
ch->ChatPacket(CHAT_TYPE_INFO, "You cannot transfer yourself!");
return;
}
if (blockObserver) {
tch->AddAffect(AFFECT_NON_OBSERVER, POINT_NONE, 0, INFINITE_AFFECT_DURATION, 0, false);
}
tch->ChatPacket(CHAT_TYPE_INFO, "You were transferred by %s", ch->GetName());
// Aynı harita kontrolu
if (tch->GetMapIndex() == ch->GetMapIndex()) {
// Show fonksiyonu nesneyi mevcut konumundan silip yeni koordinatlarda gorunur yapar.
// Bu i?lem yukleme ekranı tetiklemez.
tch->Show(ch->GetMapIndex(), ch->GetX(), ch->GetY());
tch->Stop(); // Hareket ediyorsa durdur
} else {
// Farklı haritadaysa yukleme ekranı ?arttır.
tch->WarpSet(ch->GetMapIndex(), ch->GetX(), ch->GetY());
}
}