Compile fix

This commit is contained in:
Aokromes committed 2016-10-24 19:28:03 +02:00
1 parent 6edf08c764
commit 59053a099b
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -76,7 +76,7 @@ public:
if (!entry)
continue;
if (strstr(entry->pattern[handler->GetSessionDbcLocale()], channelStr))
if (strstr(entry->pattern, channelStr))
{
channelId = i;
break;
@@ -90,7 +90,7 @@ public:
if (!entry)
continue;
if (strstr(entry->area_name[handler->GetSessionDbcLocale()], channelStr))
if (strstr(entry->area_name, channelStr))
{
zoneEntry = entry;
break;