Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
This commit is contained in:
1 parent
16b459b7cd
commit
0b8ab68eb3
6 files changed
+56
-32
No files matched your search
@@ -1912,7 +1912,7 @@ public:
|
||||
|
||||
// Now handle any that had despawned, but had respawn time logged.
|
||||
std::vector<RespawnInfo*> data;
|
||||
player->GetMap()->GetRespawnInfo(data, SPAWN_TYPEMASK_ALL, 0);
|
||||
player->GetMap()->GetRespawnInfo(data, SPAWN_TYPEMASK_ALL);
|
||||
if (!data.empty())
|
||||
{
|
||||
uint32 const gridId = Trinity::ComputeGridCoord(player->GetPositionX(), player->GetPositionY()).GetId();
|
||||
|
||||
Reference in new issue
Block a user