Fix TC build after fbbe247114

This commit is contained in:
Rochet2
2017-04-19 20:49:04 +03:00
parent 00eef91aa2
commit 39afb1d3b7
2 changed files with 2 additions and 2 deletions

View File

@@ -425,7 +425,7 @@ namespace LuaGlobalFunctions
std::string name = temp->Name1;
if (ItemLocale const* il = eObjectMgr->GetItemLocale(entry))
ObjectMgr::GetLocaleString(il->Name, locale, name);
ObjectMgr::GetLocaleString(il->Name, static_cast<LocaleConstant>(locale), name);
std::ostringstream oss;
oss << "|c" << std::hex << ItemQualityColors[temp->Quality] << std::dec <<