aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-03-30 12:01:37 -0600
committerBrian <runningnak3d@gmail.com>2010-03-30 12:01:37 -0600
commit00bb3d5cb763287d1aa4e3d44bbcdbfdfafed4d5 (patch)
tree11404347921d9635708e8184eba2929e542c8ebe /src
parentb66f3128886fdc0fae71d83cbc44440de8f77dd9 (diff)
* Allow AHbot to pull items from reference_loot_template for auction.
* Credits to click * Remove no longer needed check for non-supported client versions for loot * Generation --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/AuctionHouseBot.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/AuctionHouseBot.cpp b/src/game/AuctionHouseBot.cpp
index 9c3d1afdc6c..99ff2927b89 100644
--- a/src/game/AuctionHouseBot.cpp
+++ b/src/game/AuctionHouseBot.cpp
@@ -857,13 +857,12 @@ void AuctionHouseBot::Initialize()
}
char lootQuery[] = "SELECT item FROM creature_loot_template UNION "
+ "SELECT item FROM reference_loot_template UNION "
"SELECT item FROM disenchant_loot_template UNION "
"SELECT item FROM fishing_loot_template UNION "
"SELECT item FROM gameobject_loot_template UNION "
"SELECT item FROM item_loot_template UNION "
-#if CLIENT_VER > 300
"SELECT item FROM milling_loot_template UNION "
-#endif
"SELECT item FROM pickpocketing_loot_template UNION "
"SELECT item FROM prospecting_loot_template UNION "
"SELECT item FROM skinning_loot_template";