Core/DBC: Remove store getters (useless since we don't have scripts as external dll)
This commit is contained in:
1 parent
73282f9789
commit
f85fdbebe7
12 files changed
+11
-29
No files matched your search
@@ -1252,7 +1252,7 @@ void CreatureEventAI::DoScriptText(int32 textEntry, WorldObject* source, Unit* t
|
||||
|
||||
if ((*i).second.SoundId)
|
||||
{
|
||||
if (GetSoundEntriesStore()->LookupEntry((*i).second.SoundId))
|
||||
if (sSoundEntriesStore.LookupEntry((*i).second.SoundId))
|
||||
source->PlayDirectSound((*i).second.SoundId);
|
||||
else
|
||||
sLog->outErrorDb("CreatureEventAI: DoScriptText entry %i tried to process invalid sound id %u.", textEntry, (*i).second.SoundId);
|
||||
|
||||
Reference in new issue
Block a user