aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Scripting/ScriptSystem.cpp')
-rwxr-xr-xsrc/server/game/Scripting/ScriptSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp
index 65e855cd887..ecb82a80a8d 100755
--- a/src/server/game/Scripting/ScriptSystem.cpp
+++ b/src/server/game/Scripting/ScriptSystem.cpp
@@ -67,7 +67,7 @@ void SystemMgr::LoadScriptTexts()
if (temp.uiSoundId)
{
- if (!GetSoundEntriesStore()->LookupEntry(temp.uiSoundId))
+ if (!sSoundEntriesStore.LookupEntry(temp.uiSoundId))
sLog->outErrorDb("TSCR: Entry %i in table `script_texts` has soundId %u but sound does not exist.", iId, temp.uiSoundId);
}
@@ -129,7 +129,7 @@ void SystemMgr::LoadScriptTextsCustom()
if (temp.uiSoundId)
{
- if (!GetSoundEntriesStore()->LookupEntry(temp.uiSoundId))
+ if (!sSoundEntriesStore.LookupEntry(temp.uiSoundId))
sLog->outErrorDb("TSCR: Entry %i in table `custom_texts` has soundId %u but sound does not exist.", iId, temp.uiSoundId);
}