mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Add Mangos Four support
This commit is contained in:
@@ -1844,7 +1844,7 @@ namespace LuaGlobalFunctions
|
||||
if (!eObjectMgr->GetCreatureTemplate(entry))
|
||||
return luaL_argerror(L, 1, "valid CreatureEntry expected");
|
||||
|
||||
#ifdef CATA
|
||||
#if defined(CATA) || defined(MISTS)
|
||||
eObjectMgr->RemoveVendorItem(entry, item, 1);
|
||||
#else
|
||||
eObjectMgr->RemoveVendorItem(entry, item);
|
||||
@@ -1867,7 +1867,7 @@ namespace LuaGlobalFunctions
|
||||
|
||||
auto const & itemlist = items->m_items;
|
||||
for (auto itr = itemlist.begin(); itr != itemlist.end(); ++itr)
|
||||
#ifdef CATA
|
||||
#if defined(CATA) || defined(MISTS)
|
||||
eObjectMgr->RemoveVendorItem(entry, (*itr)->item, 1);
|
||||
#else
|
||||
#ifdef TRINITY
|
||||
|
||||
Reference in New Issue
Block a user