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

@@ -266,7 +266,7 @@ namespace LuaItem
const ItemTemplate* temp = item->GetTemplate();
std::string name = temp->Name1;
if (ItemLocale const* il = eObjectMgr->GetItemLocale(temp->ItemId))
ObjectMgr::GetLocaleString(il->Name, locale, name);
ObjectMgr::GetLocaleString(il->Name, static_cast<LocaleConstant>(locale), name);
#ifndef CLASSIC
if (int32 itemRandPropId = item->GetItemRandomPropertyId())