mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-14 20:22:23 -04: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);
|
||||
|
||||
Reference in New Issue
Block a user