mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/DBC: Remove store getters (useless since we don't have scripts as external dll)
This commit is contained in:
@@ -181,7 +181,7 @@ void DoScriptText(int32 iTextEntry, WorldObject* pSource, Unit* target)
|
||||
|
||||
if (pData->uiSoundId)
|
||||
{
|
||||
if (GetSoundEntriesStore()->LookupEntry(pData->uiSoundId))
|
||||
if (sSoundEntriesStore.LookupEntry(pData->uiSoundId))
|
||||
pSource->SendPlaySound(pData->uiSoundId, false);
|
||||
else
|
||||
sLog->outError("TSCR: DoScriptText entry %i tried to process invalid sound id %u.", iTextEntry, pData->uiSoundId);
|
||||
|
||||
@@ -67,7 +67,7 @@ void SystemMgr::LoadScriptTexts()
|
||||
|
||||
if (temp.uiSoundId)
|
||||
{
|
||||
if (!GetSoundEntriesStore()->LookupEntry(temp.uiSoundId))
|
||||
if (!sSoundEntriesStore.LookupEntry(temp.uiSoundId))
|
||||
sLog->outErrorDb("TSCR: Entry %i in table `script_texts` has soundId %u but sound does not exist.", iId, temp.uiSoundId);
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ void SystemMgr::LoadScriptTextsCustom()
|
||||
|
||||
if (temp.uiSoundId)
|
||||
{
|
||||
if (!GetSoundEntriesStore()->LookupEntry(temp.uiSoundId))
|
||||
if (!sSoundEntriesStore.LookupEntry(temp.uiSoundId))
|
||||
sLog->outErrorDb("TSCR: Entry %i in table `custom_texts` has soundId %u but sound does not exist.", iId, temp.uiSoundId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user