aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2012-03-10 20:53:26 +0100
committerShauren <shauren.trinity@gmail.com>2012-03-10 20:53:26 +0100
commitf85fdbebe7db448d895bb97ee5eafa393a1f6547 (patch)
treed1d01c5c093c153c2bd6ee2fdcc8d401dbdd6aaa /src/server/game/Scripting/ScriptMgr.cpp
parent73282f9789724e30f45c89b80bd26fc8e618e8b0 (diff)
Core/DBC: Remove store getters (useless since we don't have scripts as external dll)
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
-rwxr-xr-xsrc/server/game/Scripting/ScriptMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp
index ac15bd5c985..fba6b460ec9 100755
--- a/src/server/game/Scripting/ScriptMgr.cpp
+++ b/src/server/game/Scripting/ScriptMgr.cpp
@@ -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);