aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <qaston@gmail.com>2011-06-23 13:49:22 +0200
committerQAston <qaston@gmail.com>2011-06-23 13:49:22 +0200
commit31d32e28eedbc46a59f6e84dd602114b8b271823 (patch)
treeaf8662661fa7d5a91b0885fe38e8a1969c080ccb /src
parent3137a82c7cedb71f4a8ef06cb2d6e5741af65c9b (diff)
Fix build
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/World/item_scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp
index c6a74841fd1..073625943aa 100644
--- a/src/server/scripts/World/item_scripts.cpp
+++ b/src/server/scripts/World/item_scripts.cpp
@@ -152,8 +152,8 @@ public:
bool OnUse(Player *pPlayer, Item *pItem, SpellCastTargets const& targets)
{
- if (targets.getUnitTarget() && targets.getUnitTarget()->GetTypeId() == TYPEID_UNIT &&
- targets.getUnitTarget()->GetEntry() == 20748 && !targets.getUnitTarget()->HasAura(32578))
+ if (targets.GetUnitTarget() && targets.GetUnitTarget()->GetTypeId() == TYPEID_UNIT &&
+ targets.GetUnitTarget()->GetEntry() == 20748 && !targets.GetUnitTarget()->HasAura(32578))
return false;
pPlayer->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW, pItem, NULL);