Core/Creatures: merged some minor respawn standards
This commit is contained in:
1 parent
66d5321780
commit
416e6b36ba
2 files changed
+2
-2
No files matched your search
@@ -3031,7 +3031,7 @@ bool Map::CheckRespawn(RespawnInfo* info)
|
||||
ObjectGuid thisGUID = ObjectGuid((info->type == SPAWN_TYPE_GAMEOBJECT) ? HighGuid::GameObject : HighGuid::Unit, info->entry, info->spawnId);
|
||||
if (time_t linkedTime = GetLinkedRespawnTime(thisGUID))
|
||||
{
|
||||
time_t now = time(NULL);
|
||||
time_t now = GameTime::GetGameTime();
|
||||
time_t respawnTime;
|
||||
if (linkedTime == std::numeric_limits<time_t>::max())
|
||||
respawnTime = linkedTime;
|
||||
|
||||
Reference in new issue
Block a user