mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Creatures: Fixed a typo in respawn code
Creatures should now respawn correctly in their correct time. Closes #12378
This commit is contained in:
@@ -2287,7 +2287,7 @@ void Creature::AllLootRemovedFromCorpse()
|
||||
else
|
||||
m_corpseRemoveTime = now + m_corpseDelay * decayRate;
|
||||
|
||||
m_respawnTime = m_corpseRemoveTime + m_respawnTime;
|
||||
m_respawnTime = m_corpseRemoveTime + m_respawnDelay;
|
||||
}
|
||||
|
||||
uint8 Creature::getLevelForTarget(WorldObject const* target) const
|
||||
|
||||
Reference in New Issue
Block a user