Rename ScriptMgr::OnRemoveAuction to ScriptMgr:OnAuctionRemove for consistency. Thanks Paradox for pointing it out.
--HG-- branch : trunk
This commit is contained in:
@@ -484,7 +484,7 @@ bool AuctionHouseObject::RemoveAuction(AuctionEntry *auction, uint32 item_templa
|
||||
{
|
||||
bool wasInMap = AuctionsMap.erase(auction->Id) ? true : false;
|
||||
|
||||
sScriptMgr.OnRemoveAuction(this, auction);
|
||||
sScriptMgr.OnAuctionRemove(this, auction);
|
||||
|
||||
// we need to delete the entry, it is not referenced any more
|
||||
delete auction;
|
||||
|
||||
Reference in New Issue
Block a user