Entities/Creature: Fix a bug that caused map respawn timers to be scheduled for compatibility mode creatures.

This commit is contained in:
Treeston
2019-08-18 13:11:37 +02:00
committed by Ovahlord
parent d7e79d1892
commit c597a1bcb7

View File

@@ -2396,6 +2396,7 @@ void Creature::SaveRespawnTime(uint32 forceDelay, bool savetodb)
ri.spawnId = m_spawnId;
ri.respawnTime = m_respawnTime;
GetMap()->SaveRespawnInfoDB(ri);
return;
}
time_t thisRespawnTime = forceDelay ? GameTime::GetGameTime() + forceDelay : m_respawnTime;