mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Little clean up in BattleGroundMgr.h
Changed uint64 in method parameters to be passed by const reference. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
c4dba30b51
commit
aa2a454ca1
2 changed files with 15 additions and 15 deletions
|
|
@ -1754,7 +1754,7 @@ void BattleGroundMgr::DistributeArenaPoints()
|
|||
sWorld.SendGlobalText("Done flushing Arena points.", NULL);
|
||||
}
|
||||
|
||||
void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket *data, uint64 guid, Player* plr, uint32 bgTypeId)
|
||||
void BattleGroundMgr::BuildBattleGroundListPacket(WorldPacket *data, const uint64& guid, Player* plr, uint32 bgTypeId)
|
||||
{
|
||||
uint32 PlayerLevel = 10;
|
||||
|
||||
|
|
@ -1810,7 +1810,7 @@ void BattleGroundMgr::SendToBattleGround(Player *pl, uint32 instanceId)
|
|||
}
|
||||
}
|
||||
|
||||
void BattleGroundMgr::SendAreaSpiritHealerQueryOpcode(Player *pl, BattleGround *bg, uint64 guid)
|
||||
void BattleGroundMgr::SendAreaSpiritHealerQueryOpcode(Player *pl, BattleGround *bg, const uint64& guid)
|
||||
{
|
||||
WorldPacket data(SMSG_AREA_SPIRIT_HEALER_TIME, 12);
|
||||
uint32 time_ = 30000 - bg->GetLastResurrectTime(); // resurrect every 30 seconds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue