Konu performans ise bu şekilde daha iyi olur sadece var yok kontrolü yapıyoruz, zaman tabanlı baştan sona aratmaya gerek yok.
static const std::unordered_set<int> PvpBlockedMaps = {1, 3, 21, 23, 41, 43};
int iMapIdx = ch->GetMapIndex();
if (ch->IsPC() && victim->IsPC())
{
if...