Core/Misc: Another batch of fixes for issues found by static analysis
This commit is contained in:
1 parent
933f50558b
commit
7da33b6bce
6 files changed
+15
-53
No files matched your search
@@ -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()))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user