Revert "fix warnings" and fix warning properly

This commit is contained in:
Ovahlord committed 2018-07-23 15:59:32 +02:00
1 parent 9192bf9cd6
commit 6320bb6a46
11 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -431,7 +431,7 @@ public:
if (map->Instanceable())
{
handler->PSendSysMessage(LANG_INVALID_ZONE_MAP, areaEntry->ID, areaEntry->area_name->Str[handler->GetSessionDbcLocale()], map->GetId(), map->GetMapName());
handler->PSendSysMessage(LANG_INVALID_ZONE_MAP, areaEntry->ID, areaEntry->area_name, map->GetId(), map->GetMapName());
handler->SetSentErrorMessage(true);
return false;
}