mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
fixed build
This commit is contained in:
@@ -489,7 +489,7 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
LoadDBC(availableDbcLocales, bad_dbc_files, sNameGenStore, dbcPath, "NameGen.dbc"); // 19116
|
||||
for (uint32 i = 0; i < sNameGenStore.GetNumRows(); ++i)
|
||||
if (NameGenEntry const* entry = sNameGenStore.LookupEntry(i))
|
||||
sGenNameVectoArraysMap[entry->Race].stringVectorArray[entry->Sex].push_back(std::string(entry->Name));
|
||||
sGenerateNamesMap[entry->Race].Contents[entry->Sex].push_back(std::string(entry->Name));
|
||||
sNameGenStore.Clear();
|
||||
|
||||
LoadDBC(availableDbcLocales, bad_dbc_files, sMovieStore, dbcPath, "Movie.dbc");//15595
|
||||
|
||||
@@ -1484,10 +1484,10 @@ void GameEventMgr::UpdateWorldStates(uint16 event_id, bool Activate)
|
||||
if (bgTypeId != BATTLEGROUND_TYPE_NONE)
|
||||
{
|
||||
BattlemasterListEntry const* bl = sBattlemasterListStore.LookupEntry(bgTypeId);
|
||||
if (bl && bl->HolidayWorldStateId)
|
||||
if (bl && bl->HolidayWorldState)
|
||||
{
|
||||
WorldPackets::WorldState::UpdateWorldState worldstate;
|
||||
worldstate.VariableID = bl->HolidayWorldStateId;
|
||||
worldstate.VariableID = bl->HolidayWorldState;
|
||||
worldstate.Value = Activate;
|
||||
//worldstate.Hidden = false;
|
||||
sWorld->SendGlobalMessage(worldstate.Write());
|
||||
|
||||
Reference in New Issue
Block a user