aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent-Michael <vincent_michael@gmx.de>2016-04-23 19:35:49 +0200
committerVincent-Michael <vincent_michael@gmx.de>2016-04-23 19:35:49 +0200
commit4fbe38063923675c520dd70c88be99f719dc6378 (patch)
treef33bf9fdd3c748dda99da13a8f2951b826ea391d /src
parent53f44fbffab8a2c1e691c58b958ec9107732a46c (diff)
Core/Items: Fixed build
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp
index d6938cdc3b1..b0853c71b2c 100644
--- a/src/server/scripts/Spells/spell_item.cpp
+++ b/src/server/scripts/Spells/spell_item.cpp
@@ -218,7 +218,7 @@ class spell_item_decahedral_dwarven_dice : public SpellScriptLoader
bool Validate(SpellInfo const* /*spellInfo*/) override
{
- if (!sObjectMgr->GetBroadcastText(TEXT_DECAHEDRAL_DWARVEN_DICE))
+ if (!sBroadcastTextStore.LookupEntry(TEXT_DECAHEDRAL_DWARVEN_DICE))
return false;
return true;
}
@@ -1391,7 +1391,7 @@ class spell_item_worn_troll_dice : public SpellScriptLoader
bool Validate(SpellInfo const* /*spellInfo*/) override
{
- if (!sObjectMgr->GetBroadcastText(TEXT_WORN_TROLL_DICE))
+ if (!sBroadcastTextStore.LookupEntry(TEXT_WORN_TROLL_DICE))
return false;
return true;
}