mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +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);
|
||||
|
||||
Reference in New Issue
Block a user