Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
Port From (https://github.com/TrinityCore/TrinityCore/commit/de3eb7b298468d87b33a29e1baaa50508e90b562)
This commit is contained in:
@@ -2771,6 +2771,8 @@ namespace Game.Entities
|
||||
{
|
||||
m_respawnTime = respawn > 0 ? GameTime.GetGameTime() + respawn : 0;
|
||||
m_respawnDelayTime = (uint)(respawn > 0 ? respawn : 0);
|
||||
if (respawn != 0 && !m_spawnedByDefault)
|
||||
UpdateObjectVisibility(true);
|
||||
}
|
||||
|
||||
public bool IsSpawned()
|
||||
|
||||
Reference in New Issue
Block a user