mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Cache highest arena team/guild ids. Some code clean up.
This commit is contained in:
parent
88b1974df6
commit
90828fa699
23 changed files with 183 additions and 160 deletions
|
|
@ -418,7 +418,7 @@ Map::LoadGrid(const Cell& cell, bool no_unload)
|
|||
|
||||
bool Map::Add(Player *player)
|
||||
{
|
||||
player->SetInstanceId(this->GetInstanceId());
|
||||
player->SetInstanceId(GetInstanceId());
|
||||
|
||||
// update player state for other player and visa-versa
|
||||
CellPair p = MaNGOS::ComputeCellPair(player->GetPositionX(), player->GetPositionY());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue