Core/Misc: Another batch of fixes for issues found by static analysis

This commit is contained in:
Shauren committed 2013-05-19 11:15:54 +02:00
1 parent 933f50558b
commit 7da33b6bce
6 files changed
+15 -53

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ public:
return false;
}
uint32 vendor_entry = vendor ? vendor->GetEntry() : 0;
uint32 vendor_entry = vendor->GetEntry();
if (!sObjectMgr->IsVendorItemValid(vendor_entry, itemId, maxcount, incrtime, extendedcost, handler->GetSession()->GetPlayer()))
{