Aksam bakicam test etmedim

Windows Phone'umdan gönderildi
________________________________
Kimden: katanatr<mailto:notifications@github.com>
Gönderme tarihi: ‎3.‎12.‎2013 01:13
Kime: xAKUMAx/koserver<mailto:koserver@noreply.github.com>
Bilgi: RBACS<mailto:volkan_yng@hotmail.com>
Konu: Re: [koserver] Savaş Patch 1 (#546)

> @@ -561,9 +561,9 @@ void CAISocket::RecvBattleEvent(Packet & pkt)
>               pUser = g_pMain->GetUserPtr(strMaxUserName, TYPE_CHARACTER);
>               if (pUser != nullptr)
>               {
> -                     if (g_pMain->m_byBattleZone == ZONE_BATTLE
> -                             || g_pMain->m_byBattleZone == ZONE_BATTLE2
> -                             || g_pMain->m_byBattleZone == ZONE_BATTLE3)
> +                     if (pUser->GetZoneID() == ZONE_BATTLE

Bu şekilde olmaz. Savaş açık değil ise ne olacak?

Örnek kontrol:
```c++
if (g_pMain->m_byBattleOpen && GetZoneID() == ZONE_BATTLE)
```

---
Reply to this email directly or view it on GitHub:
https://github.com/xAKUMAx/koserver/pull/546/files#r8044421