aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-05-24 21:59:07 +0200
committerShauren <none@none>2010-05-24 21:59:07 +0200
commit1c871c229004398a379b883625d7dc5e6c1e8ea9 (patch)
tree9fc9d33a56dcff09a657670702ea0b9cd61839a6 /src
parent09a455dcd1814e71da94aedd8f5325275a47a772 (diff)
Remove unneeded loading bar for referenced vendors
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/ObjectMgr.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index 2f90e6a6685..acb5ca1c35e 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -8263,19 +8263,11 @@ int ObjectMgr::LoadReferenceVendor(int32 vendor, int32 item, std::set<uint32> *s
// find all items from the reference vendor
QueryResult_AutoPtr result = WorldDatabase.PQuery("SELECT item, maxcount, incrtime, ExtendedCost FROM npc_vendor WHERE entry='%d' ORDER BY slot ASC", item);
if (!result)
- {
- barGoLink bar(1);
-
- bar.step();
return 0;
- }
-
- barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
- bar.step();
Field* fields = result->Fetch();
int32 item_id = fields[0].GetInt32();