mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[11428] Small cleanup in LoadAuctions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
18605354f7
commit
75a9379fa7
2 changed files with 2 additions and 4 deletions
|
|
@ -374,8 +374,6 @@ void AuctionHouseMgr::LoadAuctions()
|
||||||
|
|
||||||
barGoLink bar(AuctionCount);
|
barGoLink bar(AuctionCount);
|
||||||
|
|
||||||
AuctionEntry *auction;
|
|
||||||
|
|
||||||
typedef std::map<uint32, std::wstring> PlayerNames;
|
typedef std::map<uint32, std::wstring> PlayerNames;
|
||||||
PlayerNames playerNames; // caching for load time
|
PlayerNames playerNames; // caching for load time
|
||||||
|
|
||||||
|
|
@ -385,7 +383,7 @@ void AuctionHouseMgr::LoadAuctions()
|
||||||
|
|
||||||
bar.step();
|
bar.step();
|
||||||
|
|
||||||
auction = new AuctionEntry;
|
AuctionEntry *auction = new AuctionEntry;
|
||||||
auction->Id = fields[0].GetUInt32();
|
auction->Id = fields[0].GetUInt32();
|
||||||
uint32 houseid = fields[1].GetUInt32();
|
uint32 houseid = fields[1].GetUInt32();
|
||||||
auction->itemGuidLow = fields[2].GetUInt32();
|
auction->itemGuidLow = fields[2].GetUInt32();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11427"
|
#define REVISION_NR "11428"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue