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:
Shauren authored and Ovahlord committed 2019-08-18 11:51:09 +02:00
1 parent 16b459b7cd
commit 0b8ab68eb3
6 files changed
+56 -32

No files matched your search

+1 -1
View File
@@ -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();