diff options
| author | Shauren <shauren.trinity@gmail.com> | 2012-03-10 20:53:26 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2012-03-10 20:53:26 +0100 |
| commit | f85fdbebe7db448d895bb97ee5eafa393a1f6547 (patch) | |
| tree | d1d01c5c093c153c2bd6ee2fdcc8d401dbdd6aaa /src/server/game/AI/ScriptedAI | |
| parent | 73282f9789724e30f45c89b80bd26fc8e618e8b0 (diff) | |
Core/DBC: Remove store getters (useless since we don't have scripts as external dll)
Diffstat (limited to 'src/server/game/AI/ScriptedAI')
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedCreature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp index bd6c901f99c..5c1bbf0ad06 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp @@ -171,7 +171,7 @@ void ScriptedAI::DoPlaySoundToSet(WorldObject* source, uint32 soundId) if (!source) return; - if (!GetSoundEntriesStore()->LookupEntry(soundId)) + if (!sSoundEntriesStore.LookupEntry(soundId)) { sLog->outError("TSCR: Invalid soundId %u used in DoPlaySoundToSet (Source: TypeId %u, GUID %u)", soundId, source->GetTypeId(), source->GetGUIDLow()); return; |
