Revert "fix warnings" and fix warning properly

This commit is contained in:
Ovahlord committed 2018-07-23 15:58:39 +02:00
1 parent a0e288e761
commit cd60e908c0
11 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ public:
AreaTableEntry const* zoneEntry = nullptr;
for (AreaTableEntry const* entry : sAreaTableStore)
{
if (strstr(entry->area_name->Str[handler->GetSessionDbcLocale()], channelStr))
if (strstr(entry->area_name, channelStr))
{
zoneEntry = entry;
break;