From 8ceda47e3916bdd8e0aa26adb67506845b76d0d1 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 18 Jul 2010 04:37:08 -0600 Subject: * Implement additional usage of item_template.FlagsExtra Horde / Ally only * Check loot (no longer need loot condition) * Check equip/use * Original patch by Vladimir * Ported to Trinity by Az@zel --HG-- branch : trunk --- src/server/scripts/World/item_scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp index f7c6af53e44..013888f909d 100644 --- a/src/server/scripts/World/item_scripts.cpp +++ b/src/server/scripts/World/item_scripts.cpp @@ -142,7 +142,7 @@ bool ItemUse_item_flying_machine(Player* pPlayer, Item* pItem, SpellCastTargets return false; sLog.outDebug("TSCR: Player attempt to use item %u, but did not meet riding requirement",itemId); - pPlayer->SendEquipError(EQUIP_ERR_ERR_CANT_EQUIP_SKILL,pItem,NULL); + pPlayer->SendEquipError(EQUIP_ERR_CANT_EQUIP_SKILL,pItem,NULL); return true; } -- cgit v1.2.3